<div dir="ltr"><div dir="ltr">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.<div><br></div><div>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.<div>-David, N9KT</div></div><div><br></div><div># This file is: /spider/local_cmd/crontab<br># David Spoelstra, N9KT, March 4, 2021<br><br># MAKE SURE THE DIRECTORY /spider/cmd_import EXISTS because /spider/perl/DXCommandmode.pm uses it to run the DXSpider command scripts below.<br># From /spider/perl/DXCommandmode.pm:<br># cmdimportdir = "$main::root/cmd_import"; # the base directory for importing command scripts <br>#                                          # this does not exist as default, you need to create it manually<br><br># min, hour, day-of-month, month, day-of-week (0=Sun)<br># TIME IS IN UTC!<br><br># Connect to other nodes<br>* * * * * start_connect('w9pa') unless connected('w9pa')<br>* * * * * start_connect('wb3ffv') unless connected('wb3ffv')<br>* * * * * start_connect('ky4xx') unless connected('ky4xx')<br><br># Monday 2am local - Get latest FCC data (W1NR updates Sundays)<br>0 7 * * 1 spawn("cd /tmp && wget -q <a href="ftp://ftp.w1nr.net/usdbraw.gz" target="_blank">ftp://ftp.w1nr.net/usdbraw.gz</a> && /spider/perl/<a href="http://create_usdb.pl" target="_blank">create_usdb.pl</a> usdbraw.gz")<br>2 7 * * 1 run_cmd("load/usdb")<br>4 7 * * 1 spawn("rm /tmp/usdbraw.gz")<br><br># Everyday 4am local - Get latest Keps since there isn't a release schedule<br>0 9 * * * spawn("cd /tmp && wget -q <a href="https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt" target="_blank">https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt</a> && /spider/perl/<a href="http://convkeps.pl" target="_blank">convkeps.pl</a> -p nasabare.txt")<br>2 9 * * * run_cmd("load/keps")<br>4 9 * * * spawn("rm /tmp/nasabare.txt")<br><br># Everyday 4am local - Get latest cty.dat since there isn't a release schedule<br>6  9 * * * spawn("cd /spider/data && rm /spider/data/cty.dat && wget -q <a href="https://www.country-files.com/cty/cty.dat" target="_blank">https://www.country-files.com/cty/cty.dat</a>")<br>8  9 * * * spawn("cd /spider/data && rm /spider/data/wpxloc.raw && wget -q <a href="https://www.country-files.com/cty/wpxloc.raw" target="_blank">https://www.country-files.com/cty/wpxloc.raw</a>")<br>10 9 * * * spawn("cd /spider/data && /spider/perl/<a href="http://create_prefix.pl" target="_blank">create_prefix.pl</a>")<br>12 9 * * * run_cmd("load/prefixes")<br><br># Friday 4am local - Update DXSpider to be ready for any contest<br>14 9 * * 5 spawn("cd /spider && git reset --hard && git pull")<br></div><div><br></div><div><br></div></div></div>