<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Probably not ‘perfect’ but this works for me.<div><br></div><div><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Set so that all crontab entries are performed in LOCAL time, not UTC</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">LOCALE = LOCAL</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">#</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Remote node links</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">xxx removed because we all have different ones</p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Check the skimmer connection every minute and reconnect if needed.</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">* * * * * start_connect('sk0mmr') unless connected('sk0mmr')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">* * * * * start_connect('sk1mmr') unless connected('sk1mmr')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Update mrtg every five minutes</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">00,05,10,15,20,25,30,35,40,45,50,55 * * * * run_cmd('mrtg all')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Update the badip tables every hour</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">38 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.torexit')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">38 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.torrelay')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">38 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.global')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">39 * * * * run_cmd('load/badip')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Daily at 04:00 - Automatically tidy up old log files.</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># debug log management is controlled via spider and via a line in startup.</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">02 4 * * * spawn(q[find /spider/local_data/spots -type f -mmin +44640 -exec rm -f {} \;])</p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">01 4 * * * spawn(q[find /spider/local_data/log -type f -mmin +10080 -exec rm -f {} \;])</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">03 4 * * * spawn(q[find /spider/local_data/wcy -type f -mmin +1440 -exec rm -f {} \;])</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">04 4 * * * spawn(q[find /spider/local_data/wwv -type f -mmin +1440 -exec rm -f {} \;])</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Daily at 05:00 - Get latest cty.dat</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">00 05 * * * spawn("cd /spider/local_data ; rm cty.old ; mv cty.dat cty.old ; wget -qN http://www.country-files.com/cty/cty.dat")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">02 05 * * * spawn("cd /spider/local_data ; rm wpxloc.old ; mv wpxloc.raw wpxloc.old ; wget -qN http://www.country-files.com/cty/wpxloc.raw")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">04 05 * * * spawn("cd /spider/local_data ; /spider/perl/create_prefix.pl")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">10 05 * * * run_cmd("load/prefixes")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Daily at 08:00 - Get latest Keps (I doubt anyone uses these but it's good to be up to date)</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">02 08 * * * spawn("cd /tmp ; wget -qN http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt ; /spider/perl/convkeps.pl -p nasabare.txt")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">04 08 * * * run_cmd("load/keps")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">06 08 * * * spawn("rm /tmp/nasabare.txt")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures"># Check for updates on weekdays at 23:42.  Do not update at weekends.  Update the updater first </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">40 23 * * 1,2,3,4,5 spawn('cd /spider/local_cmd; wget -qN https://raw.githubusercontent.com/EA3CV/dxspider_info/main/check_build.pl')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">41 23 * * 1,2,3,4,5 run_cmd('load/cmd')</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">42 23 * * 1,2,3,4,5 run_cmd("check_build Y")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"># Monday 23:10 - Get latest FCC data<span style="font-variant-ligatures: no-common-ligatures"></span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">10 23 * * 1 spawn("cd /tmp ; wget -qN ftp://ftp.w1nr.net/usdbraw.gz ; /spider/perl/create_usdb.pl usdbraw.gz")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">15 23 * * 1 run_cmd("load/usdb")</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">20 23 * * 1 spawn("rm /tmp/usdbraw.gz")</span></p></div><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div><br></div><div><br></div><div><br></div><div><br><div><br><blockquote type="cite"><div>On 2 Mar 2023, at 19:04, Mikel EA2CW via Dxspider-support <dxspider-support@tobit.co.uk> wrote:</div><br class="Apple-interchange-newline"><div><div>After Dirk's corrections, this is my /spider/local_cmd/crontab file. Hope it can help. Be careful with some undesired LF/CR<br><br>73, Mikel<br><br>SOF ===================================================================================<br># Check connections every 5 minutes to see if servers are connected<br># if not, starts connect jobs<br>02,07,12,17,22,27,32,37,42,47,52,57 * * * * start_connect('ea3cv-2') unless connected('ea3cv-2')<br># one line for each node you want to stay connected to<br>#<br># Check connections with reversebeacon servers every minute<br>* * * * *   start_connect('sk0mmr') unless connected('sk0mmr')<br>* * * * *   start_connect('sk1mmr') unless connected('sk1mmr')<br>#<br># Search for updates week days at 04:25 UTC<br>#<br>25 4 * * 1,2,3,4,5 run_cmd("check_build N")<br>#<br>#<br># Check IP dynamic changes every 10 min<br>02,12,22,32,42,52 * * * * run_cmd("update_ip")<br>#<br># Users export on tue & thu at 03:20<br>20 3 * * 2,4 run_cmd("export_users")<br>#<br># Monday 3:00 local - Get latest FCC data (W1NR updates Sundays)<br>0 3 * * 1 spawn("cd /tmp && wget -Nq ftp://ftp.w1nr.net/usdbraw.gz && /spider/perl/create_usdb.pl usdbraw.gz")<br>2 3 * * 1 run_cmd("load/usdb")<br>4 3 * * 1 spawn("rm /tmp/usdbraw.gz")<br>#<br># Friday 5:00 UTC - Get latest Keps to be ready for any contest<br>0 5 * * 5 spawn("cd /tmp && wget -Nq https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt && /spider/perl/convkeps.pl -p nasabare.txt")<br>2 5 * * 5 run_cmd("load/keps")<br>4 5 * * 5 spawn("rm /tmp/nasabare.txt")<br>#<br># Friday 4am UTC - Get latest cty.dat to be ready for any contest<br>6  4 * * 5 spawn("cd /spider/local_data && wget -Nq https://www.country-files.com/cty/cty.dat")<br>8  4 * * 5 spawn("cd /spider/local_data && wget -Nq https://www.country-files.com/cty/wpxloc.raw")<br>10 4 * * 5 spawn("cd /spider/local_data && /spider/perl/create_prefix.pl")<br>12 4 * * 5 run_cmd("load/prefixes")<br>#<br># Announce to logged users every hour at minute 08<br>08 * * * * run_cmd('ann Remember to register if you want to send spots. Use SP EA2CW to do it')<br>#<br># BADIP's, TOR & Others<br>17 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.torexit')<br>17 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.torrelay')<br>17 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.global')<br>18 * * * * run_cmd('load/badip')<br>EOF =========================================================================<br><br><br><br>El 02/03/2023 a las 19:26, Michael Walker via Dxspider-support escribió:<br><blockquote type="cite">Hi All<br><br>For years, my cluster runs flawlessly on its own.  :)  And, I trust that to<br>continue.<br><br>Can those in the know share what their CRON entries are so us mear mortals<br>can update our own clusters?  :)<br><br>This is what I have now (and, am now noticing the funny characters that<br>require fixing)<br><br><br># Automaticlly check for update at 02:20 on Tuesday morning and then apply<br>at 02:30<br># Note, this restarts the node so will disconnect all sessions<br>20 02 * * 2 spawn("cd /spider; git reset --hard; git pull")<br>30 02 * * 2 run_cmd('shutdown▒^`^y)<br><br># Check for updates on weekdays at 23:42.  Do not update at weekends.<br>Update the updater first<br>40 23 * * 1,2,3,4,5 spawn('cd /spider/local_cmd; wget -qN<br>https://raw.githubusercontent.com/EA3CV/dxspider_info/main/check_build.pl')<br>41 23 * * 1,2,3,4,5 run_cmd(▒^`^xload/cmd')<br>42 23 * * 1,2,3,4,5 run_cmd("check_build Y▒^`^})<br><br><br><br><br>Mike va3mw<br><br><br>_______________________________________________<br>Dxspider-support mailing list<br>Dxspider-support@tobit.co.uk<br>https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support<br></blockquote><br>-- <br>ea2cw@gautxori.com<br>Bilbao, Bizkaia. IN83MG<br>http://radio.gautxori.com<br>http://qrz.com/db/ea2cw<br>https://t.me/EA2CW<br><br><br>_______________________________________________<br>Dxspider-support mailing list<br>Dxspider-support@tobit.co.uk<br>https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support<br></div></div></blockquote></div><br></div></body></html>