[Dxspider-support] Dxspider Ubuntu Local_cmd -> crontab

Michael Serowik maserowik at verizon.net
Sat Jan 28 16:41:13 GMT 2012


Will this work?


# Get Latest Spider
00 5 * * * * spawn("/spider/git pull")

# Connect to the cluster feed
01,06,11,16,21,26,31,36,41,46,51,56 * * * * start_connect('wr3d') unless
connected('wr3d')

# Connect to the cluster feed
00,05,10,15,20,25,30,35,40,45,50,55 * * * * start_connect('kb1h') unless
connected('kb1h')

# Update stats for mrtg on website
00,05,10,15,20,25,30,35,40,45,50,55 * * * * run_cmd('mrtg all')

# Broadcast the Cluster Information
00 * * * * run_ann('ann Cluster: N3BSQ-1 at ' . cladate . ' ' .stime)

# Download the USDB file
00 05 * * 1,3,5 spawn("wget -qN ftp://ftp.w1nr.net/usdbraw.gz >>
/spider/local/usdbraw.gz")
02 05 * * 1,3,5 spawn("/spider/perl/create_usdb.pl
/spider/local/usdbraw.gz")
02 05 * * 1,3,5 run_cmd("load/usdb")
02 05 * * 1,3,5 spawn("rm usdbraw.gz")


# Download Satellite informaiton
00 05 * * 1,3,5 spawn("wget -qN
http://www.celestrak.com/NORAD/elements/amateur.txt >>
/spider/local/amateur.txt")
02 05 * * 1,3,5 spawn("/spider/perl/convkeps.pl  /spider/local/amateur.txt")
02 05 * * 1,3,5 run_cmd("load/keps")
02 05 * * 1,3,5 spawn("rm /spider/perl/amateur.txt")

# Broadcast the Cluster Information
00 * * * * run_ann('ann Cluster: N3BSQ-1 at ' . cladate . ' ' .stime)




More information about the Dxspider-support mailing list