[Dxspider-support] DXSpider crontabs in general

James Snider jim at lexiann.com
Sat Dec 26 13:27:28 CET 2020


Was playing with some of these commands this morning and was trying to update the usdb files so I did the following


cd /spider
wget ftp://ftp.w1nr.net/usdbraw.gz

Then I executed this

/spider/perl/create_usdb.pl usdbraw.gz

It came back with this

1462465 records


But when I log in and do load/usdb I get this


W8BS de W8BS-2 26-Dec-2020 1220Z dxspider >
load/usdb
US Database not loaded
W8BS de W8BS-2 26-Dec-2020 1221Z dxspider >


What am I missing here??

Jim W8BS


James Snider
jim at lexiann.com



> On Dec 24, 2020, at 2:21 AM, David Spoelstra via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
> 
> Since we're sharing, I thought I'd give everyone my entire DXSpider crontab. Maybe I can help others and maybe someone has a better way of doing something than I do. BTW, mine has been running flawlessly for years.
> -David, N9KT
> 
> # /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 -qN ftp://ftp.w1nr.net/usdbraw.gz <ftp://ftp.w1nr.net/usdbraw.gz> && /spider/perl/create_usdb.pl <http://create_usdb.pl/> usdbraw.gz")
> 15 5 * * 1 run_cmd("load/usdb")
> 30 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 -qN http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt <http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt> && /spider/perl/convkeps.pl <http://convkeps.pl/> -p nasabare.txt")
> 15 5 * * 5 run_cmd("load/keps")
> 30 5 * * 5 spawn("rm /tmp/nasabare.txt")
> 
> # Friday 2am local - Get latest cty.dat to be ready for any contest
> 0  6 * * 5 spawn("cd /spider/data && wget -qN http://www.country-files.com/cty/cty.dat <http://www.country-files.com/cty/cty.dat>")
> 15 6 * * 5 spawn("cd /spider/data && wget -qN http://www.country-files.com/cty/wpxloc.raw <http://www.country-files.com/cty/wpxloc.raw>")
> 30 6 * * 5 spawn("cd /spider/data && /spider/perl/create_prefix.pl <http://create_prefix.pl/>")
> 45 6 * * 5 run_cmd("load/prefixes")
> 
> # Friday 3am local - Update DXSpider to be ready for any contest
> 0  7 * * 5 spawn("cd /spider && git reset --hard && git pull")
> 
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support

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


More information about the Dxspider-support mailing list