[Dxspider-support] CTY-3105 Country Files - 03 March 2021

Howard Leadmon howard at leadmon.net
Thu Mar 4 10:49:20 CET 2021


   David, thanks for the crontab layout.

  I like it, simple and effective, and I am making the changes here 
with  slightly different times..

   73's de WB3FFV

---
Howard Leadmon - howard at leadmon.net
PBW Communications, LLC
http://www.pbwcomm.com

On 3/3/2021 9:14 PM, David Spoelstra via Dxspider-support wrote:
> OK, found the problem. I was using http vs https when I fetched the 
> file - that made all the difference.
>
> If anyone wants to use my DXSpider cron, you are most welcome. Just to 
> make sure everyone understands, you can put a crontab in 
> /spider/local_cmd/ and it will run. I put all my DXSpider stuff in 
> there to keep everything dealing with DXSpider in one place.
>
> My DXSpider crontab in /spider/local_cmd/:
>
> # /spider/local_cmd/crontab
> # MAKE SURE /spider/cmd_import EXISTS!
> # min, hour, day-of-month, month, day-of-week (0=Sun)
> # TIME IS UTC!
>
> # Connect to other nodes
> * * * * * start_connect('w9pa') unless connected('w9pa')
> * * * * * start_connect('wb3ffv') unless connected('wb3ffv')
> * * * * * start_connect('ky4xx') unless connected('ky4xx')
>
> # Monday 1am local - Get latest FCC data (W1NR updates Sundays)
> 0 5 * * 1 spawn("cd /tmp && wget -Nq ftp://ftp.w1nr.net/usdbraw.gz 
> <ftp://ftp.w1nr.net/usdbraw.gz> && /spider/perl/create_usdb.pl 
> <http://create_usdb.pl> usdbraw.gz")
> 2 5 * * 1 run_cmd("load/usdb")
> 4 5 * * 1 spawn("rm /tmp/usdbraw.gz")
>
> # Friday 1am local - Get latest Keps to be ready for any contest
> 0 5 * * 5 spawn("cd /tmp && wget -Nq 
> https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt 
> <https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt> && 
> /spider/perl/convkeps.pl <http://convkeps.pl> -p nasabare.txt")
> 2 5 * * 5 run_cmd("load/keps")
> 4 5 * * 5 spawn("rm /tmp/nasabare.txt")
>
> # Friday 1am local - Get latest cty.dat to be ready for any contest
> 6  5 * * 5 spawn("cd /spider/data && wget -Nq 
> https://www.country-files.com/cty/cty.dat 
> <https://www.country-files.com/cty/cty.dat>")
> 8  5 * * 5 spawn("cd /spider/data && wget -Nq 
> https://www.country-files.com/cty/wpxloc.raw 
> <https://www.country-files.com/cty/wpxloc.raw>")
> 10 5 * * 5 spawn("cd /spider/data && /spider/perl/create_prefix.pl 
> <http://create_prefix.pl>")
> 12 5 * * 5 run_cmd("load/prefixes")
>
> # Friday 1am local - Update DXSpider to be ready for any contest
> 14 5 * * 5 spawn("cd /spider && git reset --hard && git pull")
>
> -David, N9KT
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20210304/d9ac4ca2/attachment-0001.htm>


More information about the Dxspider-support mailing list