[Dxspider-support] One last crontab problem

David Spoelstra davids at mediamachine.com
Tue Nov 19 05:14:42 GMT 2013


I've got a great /spider/local_cmd/crontab to update everything:

# /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('w9zrx') unless connected('w9zrx')
* * * * * start_connect('k9usa') unless connected('k9usa')

# Update DXSpider Friday morning to be ready for any contest
0 6 * * 5 spawn("cd /spider; git reset --hard; git pull")

# Get latest Keps Friday morning to be ready for any contest
15 6 * * 5 spawn("cd /spider/data; wget -qN
http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt;
/spider/perl/convkeps.pl nasabare.txt; echo 'load/keps' >
/spider/cmd_import/loadkeps; sleep 20; rm nasabare.txt")

# Get latest cty.dat Friday morning to be ready for any contest
30 6 * * 5 spawn("cd /spider/data; wget -qN
http://www.country-files.com/cty/cty.dat;
/spider/perl/create_prefix.pl; echo 'load/prefix' >
/spider/cmd_import/loadprefix")

# Get latest FCC data (W1NR updates Sundays so do this Monday morning)
45 6 * * 1 spawn("cd /spider/data; wget -qN
ftp://ftp.w1nr.net/usdbraw.gz; /spider/perl/create_usdb.pl usdbraw.gz;
echo 'load/usdb' > /spider/cmd_import/loadusdb; sleep 20; rm
usdbraw.gz")
####### END

But I still have one problem left.  If I can get it fixed, I plan to
add my script to the DXSpider Wiki as an example.

The problem is that every time a "spawn" is executed, it throws
everyone off the cluster!  I posted the problem previously, but the
only replies I received were a bunch of "me tos".

Does anyone know what I'm doing wrong in my spawns?

Thanks!
-David, N9KT



More information about the Dxspider-support mailing list