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

David Spoelstra davids at mediamachine.com
Sat Mar 13 23:29:37 CET 2021


Mine's been running flawlessly since I tweaked it March 4. I had been using
the -N parameter for wget, but it mysteriously stopped working several
months ago so now I just delete the file and get a new copy.

One subtle thing that caught me out years ago, is to make sure that the
directory /spider/cmd_import exists because /spider/perl/DXCommandmode.pm
uses it to run some of the DXSpider command scripts in my crontab below.
-David, N9KT

# This file is: /spider/local_cmd/crontab
# David Spoelstra, N9KT, March 4, 2021

# MAKE SURE THE DIRECTORY /spider/cmd_import EXISTS because
/spider/perl/DXCommandmode.pm uses it to run the DXSpider command scripts
below.
# From /spider/perl/DXCommandmode.pm:
# cmdimportdir = "$main::root/cmd_import"; # the base directory for
importing command scripts
#                                          # this does not exist as
default, you need to create it manually

# min, hour, day-of-month, month, day-of-week (0=Sun)
# TIME IS IN UTC!

# Connect to other nodes
* * * * * start_connect('w9pa') unless connected('w9pa')
* * * * * start_connect('wb3ffv') unless connected('wb3ffv')
* * * * * start_connect('ky4xx') unless connected('ky4xx')

# Monday 2am local - Get latest FCC data (W1NR updates Sundays)
0 7 * * 1 spawn("cd /tmp && wget -q ftp://ftp.w1nr.net/usdbraw.gz &&
/spider/perl/create_usdb.pl usdbraw.gz")
2 7 * * 1 run_cmd("load/usdb")
4 7 * * 1 spawn("rm /tmp/usdbraw.gz")

# Everyday 4am local - Get latest Keps since there isn't a release schedule
0 9 * * * spawn("cd /tmp && wget -q
https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt && /spider/perl/
convkeps.pl -p nasabare.txt")
2 9 * * * run_cmd("load/keps")
4 9 * * * spawn("rm /tmp/nasabare.txt")

# Everyday 4am local - Get latest cty.dat since there isn't a release
schedule
6  9 * * * spawn("cd /spider/data && rm /spider/data/cty.dat && wget -q
https://www.country-files.com/cty/cty.dat")
8  9 * * * spawn("cd /spider/data && rm /spider/data/wpxloc.raw && wget -q
https://www.country-files.com/cty/wpxloc.raw")
10 9 * * * spawn("cd /spider/data && /spider/perl/create_prefix.pl")
12 9 * * * run_cmd("load/prefixes")

# Friday 4am local - Update DXSpider to be ready for any contest
14 9 * * 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/20210313/8a6f773e/attachment.htm>


More information about the Dxspider-support mailing list