[Dxspider-support] Keep your crontab up to date in Mojo
Kin
ea3cv at cronux.net
Fri Jul 26 11:40:47 BST 2024
Hi all,
>From the queries I have been receiving, I see that many of the sysops that
upgrade their node to Mojo, do not make use of the new features that Dirk
included in this branch.
Here is an example of part of my crontab for guidance.
###############
00,05,10,15,20,25,30,35,40,45,50,55 * * * * start_connect('EA4URE-5') unless
connected('EA4URE-5')
* * * * * start_connect('SK0MMR') unless connected('SK0MMR')
* * * * * start_connect('SK1MMR') unless connected('SK1MMR')
# AutoUpdate DXSpider Server (Mojo)
30 0 * * * spawn('cd /spider/local_cmd; wget -q
https://raw.githubusercontent.com/EA3CV/dxspider_info/main/check_build.pl -O
/spider/local_cmd/check_build.pl')
32 0 * * * run_cmd('load/cmd')
0 4 * * 1,2,3,4,5 run_cmd("check_build Y 4")
# 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")
# AutoUpdate BadIP (Mojo)
32 * * * * run_cmd('download
http://www.dxspider.net/download/badip.torexit')
32 * * * * run_cmd('download
http://www.dxspider.net/download/badip.torrelay')
32 * * * * run_cmd('download http://www.dxspider.net/download/badip.global')
33 * * * * run_cmd('load/badip')
# Compression of the previous day's debug files
10 0 * * * spawn("/spider/local_cmd/compresion.pl")
# Update IP Address (Mojo)
00,10,20,30,40,50 * * * * run_cmd("update_ip")
###############
73 de Kin EA3CV
More information about the Dxspider-support
mailing list