[Dxspider-support] DXSpider crontabs in general

David Spoelstra davids at mediamachine.com
Thu Dec 24 08:21:56 CET 2020


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 &&
/spider/perl/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 && /spider/perl/
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")
15 6 * * 5 spawn("cd /spider/data && wget -qN
http://www.country-files.com/cty/wpxloc.raw")
30 6 * * 5 spawn("cd /spider/data && /spider/perl/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")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20201224/91389474/attachment.htm>


More information about the Dxspider-support mailing list