[Dxspider-support] Keep your crontab up to date in Mojo

Keith Maton g6nhu at me.com
Sat Jul 27 20:46:46 BST 2024


OK, thanks Kin, not relevant to me.

73 Keith

> On 27 Jul 2024, at 18:09, Kin EA3CV via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
> 
> I forgot that it also updates the LAN IP(s) if you have DHCP, Docker,... 
> 
> Kin
> 
> 
> De: Dxspider-support <dxspider-support-bounces at tobit.co.uk> en nombre de Kin EA3CV via Dxspider-support <dxspider-support at tobit.co.uk>
> Enviado: sábado, julio 27, 2024 6:57:51 p. m.
> Para: The DXSpider Support list <dxspider-support at tobit.co.uk>
> CC: Kin EA3CV <ea3cv at cronux.net>
> Asunto: Re: [Dxspider-support] Keep your crontab up to date in Mojo
> 
> Keith, Its function is to update two variables when using dynamic IP on the node:
> 
> $main::localhost_alias_ipv4 $main::localhost_names
> 
> Keeps the IP updated even if it changes.
> 
> 73 de Kin
> 
> 
> De: Dxspider-support <dxspider-support-bounces at tobit.co.uk> en nombre de Keith Maton via Dxspider-support <dxspider-support at tobit.co.uk>
> Enviado: sábado, julio 27, 2024 6:24:04 p. m.
> Para: The DXSpider Support list <dxspider-support at tobit.co.uk>
> CC: Keith Maton <g6nhu at me.com>
> Asunto: Re: [Dxspider-support] Keep your crontab up to date in Mojo
> 
> What’s the ip address update all about please, Kin?
> 
> 73 Keith
> 
>> 
> 
> > On 26 Jul 2024, at 11:41, Kin via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
> > 
> > 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://ftpw1nr.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
> > 
> > 
> > 
> > _______________________________________________
> > Dxspider-support mailing list
> > Dxspider-support at tobit.co.uk
> > https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> 
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> 
> 
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20240727/5718d212/attachment-0001.htm>


More information about the Dxspider-support mailing list