[Dxspider-support] The 'perfect' cron list

Kin ea3cv at cronux.net
Thu Mar 2 18:40:52 GMT 2023


Here is an example of my crontab for Mojo:

 

# Autostart connections to nodes

00,10,20,30,40,50 * * * * start_connect('XX0XX-2') unless connected('XX0XX-2')

05,15,25,35,45,55 * * * * start_connect('ZZ0ZZ-6') unless connected('ZZ0ZZ-6')

 

# Autostart connections to RBN servers

* * * * * start_connect('SK0MMR') unless connected('SK0MMR')

* * * * * start_connect('SK1MMR') unless connected('SK1MMR')

 

# Export users

10 0 * * * run_cmd("export_users")

 

# AutoUpdate USDB

0 1 * * 1,3,5 spawn("cd /tmp; wget -qN ftp://ftp.w1nr.net/usdbraw.gz; /spider/perl/create_usdb.pl usdbraw.gz")

5 1 * * 1,3,5 run_cmd("load/usdb")

10 1 * * 1,3,5 spawn("rm /tmp/usdbraw.gz")

 

# AutoUpdate Keps

0 2 * * 2,4,6 spawn("cd /tmp; wget -qN http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt; /spider/perl/convkeps.pl -p nasabare.txt")

5 2 * * 2,4,6 run_cmd("load/keps")

10 2 * * 2,4,6 spawn("rm /tmp/nasabare.txt")

 

# AutoUpdate CTY.DAT

0 3 * * 0,2,5 spawn("cd /spider/local_data; wget -qN http://www.country-files.com/cty/cty.dat")

0 3 * * 0,2,5 spawn("cd /spider/local_data; wget -qN http://www.country-files.com/cty/wpxloc.raw")

2 3 * * 0,2,5 spawn("/spider/perl/create_prefix.pl")

3 3 * * 0,2,5 run_cmd("load/prefix")

 

# TOR & Others BadIPs

30 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.torexit')

30 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.torrelay')

30 * * * * spawn('cd /spider/local_data; wget -qN http://www.dxspider.net/download/badip.global')

31 * * * * run_cmd('load/badip')

 

# AutoUpdate KEPS

0 5 * * 5 spawn("cd /tmp && wget -Nq https://www.amsat.org/amsat/ftp/keps/current/nasabare.txt && /spider/perl/convkeps.pl -p na>

2 5 * * 5 run_cmd("load/keps")

4 5 * * 5 spawn("rm /tmp/nasabare.txt")

 

# AutoUpdate DXSpider

#0 1 * * 2,3,5 spawn("cd /spider; git reset --hard; git pull")

 

# Check update build

0 4 * * 1,2,3,4,5 run_cmd("check_build Y"

 

# Check Public/Local IP

00,10,20,30,40,50 * * * * run_cmd("update_ip")

 

Kin EA3CV

 

 

De: Dxspider-support <dxspider-support-bounces at tobit.co.uk> En nombre de Michael Walker via Dxspider-support
Enviado el: jueves, 2 de marzo de 2023 19:27
Para: The DXSpider Support list <dxspider-support at tobit.co.uk>
CC: Michael Walker <mike at portcredit.net>
Asunto: [Dxspider-support] The 'perfect' cron list

 

Hi All

 

For years, my cluster runs flawlessly on its own.  :)  And, I trust that to continue.

 

Can those in the know share what their CRON entries are so us mear mortals can update our own clusters?  :)

 

This is what I have now (and, am now noticing the funny characters that require fixing)

 


# Automaticlly check for update at 02:20 on Tuesday morning and then apply at 02:30
# Note, this restarts the node so will disconnect all sessions
20 02 * * 2 spawn("cd /spider; git reset --hard; git pull")
30 02 * * 2 run_cmd('shutdown▒^`^y)

# Check for updates on weekdays at 23:42.  Do not update at weekends.  Update the updater first
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')
41 23 * * 1,2,3,4,5 run_cmd(▒^`^xload/cmd')
42 23 * * 1,2,3,4,5 run_cmd("check_build Y▒^`^})



 

 

Mike va3mw

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20230302/03b16957/attachment.htm>


More information about the Dxspider-support mailing list