<html><body><div dir="auto">I forgot that it also updates the LAN IP(s) if you have DHCP, Docker,... </div><div dir="auto"><br></div><div dir="auto">Kin</div><div dir="auto"><br></div><div id="mail-editor-reference-message-container" dir="auto"><br><hr style="display:inline-block;width:98%"><div id="divRplyFwdMsg" style="font-size: 11pt;"><strong>De:</strong> Dxspider-support <dxspider-support-bounces@tobit.co.uk> en nombre de Kin EA3CV via Dxspider-support <dxspider-support@tobit.co.uk><br><strong>Enviado:</strong> sábado, julio 27, 2024 6:57:51 p. m.<br><strong>Para:</strong> The DXSpider Support list <dxspider-support@tobit.co.uk><br><strong>CC:</strong> Kin EA3CV <ea3cv@cronux.net><br><strong>Asunto:</strong> Re: [Dxspider-support] Keep your crontab up to date in Mojo<br></div><br><div dir="auto">Keith, Its function is to update two variables when using dynamic IP on the node:</div><div dir="auto"><span style="font-size:12pt"><br></span></div><div dir="auto"><span style="font-size:12pt">$main::localhost_alias_ipv4 $main::localhost_names</span></div><div dir="auto"><span style="font-size:12pt"><br></span></div><div dir="auto"><span style="font-size:12pt">Keeps the IP updated even if it changes.<br></span></div><div dir="auto"><br></div><div dir="auto">73 de Kin</div><div dir="auto"><br></div><div id="mail-editor-reference-message-container" dir="auto"><br><hr style="display:inline-block; width:98%"><div id="divRplyFwdMsg" style="font-size:11pt"><strong>De:</strong> Dxspider-support <dxspider-support-bounces@tobit.co.uk> en nombre de Keith Maton via Dxspider-support <dxspider-support@tobit.co.uk><br><strong>Enviado:</strong> sábado, julio 27, 2024 6:24:04 p. m.<br><strong>Para:</strong> The DXSpider Support list <dxspider-support@tobit.co.uk><br><strong>CC:</strong> Keith Maton <g6nhu@me.com><br><strong>Asunto:</strong> Re: [Dxspider-support] Keep your crontab up to date in Mojo<br></div><br>What’s the ip address update all about please, Kin?<br><br>73 Keith<br><br>—<br><br><br>> On 26 Jul 2024, at 11:41, Kin via Dxspider-support <dxspider-support@tobit.co.uk> wrote:<br>> <br>> Hi all,<br>> <br>> From the queries I have been receiving, I see that many of the sysops that<br>> upgrade their node to Mojo, do not make use of the new features that Dirk<br>> included in this branch.<br>> <br>> Here is an example of part of my crontab for guidance.<br>> <br>> ###############<br>> <br>> 00,05,10,15,20,25,30,35,40,45,50,55 * * * * start_connect('EA4URE-5') unless<br>> connected('EA4URE-5')<br>> <br>> * * * * * start_connect('SK0MMR') unless connected('SK0MMR')<br>> * * * * * start_connect('SK1MMR') unless connected('SK1MMR')<br>> <br>> # AutoUpdate DXSpider Server (Mojo)<br>> 30 0 * * * spawn('cd /spider/local_cmd; wget -q<br>> https://raw.githubusercontent.com/EA3CV/dxspider_info/main/check_build.pl -O<br>> /spider/local_cmd/check_build.pl')<br>> 32 0 * * * run_cmd('load/cmd')<br>> 0 4 * * 1,2,3,4,5 run_cmd("check_build Y 4")<br>> <br>> # AutoUpdate USDB<br>> 0 1 * * 1,3,5 spawn("cd /tmp; wget -qN ftp://ftpw1nr.net/usdbraw.gz;<br>> /spider/perl/create_usdb.pl usdbraw.gz")<br>> 5 1 * * 1,3,5 run_cmd("load/usdb")<br>> 10 1 * * 1,3,5 spawn("rm /tmp/usdbraw.gz")<br>> <br>> # AutoUpdate Keps<br>> 0 2 * * 2,4,6 spawn("cd /tmp; wget -qN<br>> http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt;<br>> /spider/perl/convkeps.pl -p nasabare.txt")<br>> 5 2 * * 2,4,6 run_cmd("load/keps")<br>> 10 2 * * 2,4,6 spawn("rm /tmp/nasabare.txt")<br>> <br>> # AutoUpdate CTY.DAT<br>> 0 3 * * 0,2,5 spawn("cd /spider/local_data; wget -qN<br>> http://www.country-files.com/cty/cty.dat")<br>> 0 3 * * 0,2,5 spawn("cd /spider/local_data; wget -qN<br>> http://www.country-files.com/cty/wpxloc.raw")<br>> 2 3 * * 0,2,5 spawn("/spider/perl/create_prefix.pl")<br>> 3 3 * * 0,2,5 run_cmd("load/prefix")<br>> <br>> # AutoUpdate BadIP (Mojo)<br>> 32 * * * * run_cmd('download<br>> http://www.dxspider.net/download/badip.torexit')<br>> 32 * * * * run_cmd('download<br>> http://www.dxspider.net/download/badip.torrelay')<br>> 32 * * * * run_cmd('download http://www.dxspider.net/download/badip.global')<br>> 33 * * * * run_cmd('load/badip')<br>> <br>> # Compression of the previous day's debug files<br>> 10 0 * * * spawn("/spider/local_cmd/compresion.pl")<br>> <br>> # Update IP Address (Mojo)<br>> 00,10,20,30,40,50 * * * * run_cmd("update_ip")<br>> <br>> ###############<br>> <br>> 73 de Kin EA3CV<br>> <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><br>_______________________________________________<br>Dxspider-support mailing list<br>Dxspider-support@tobit.co.uk<br>https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support<br><br></div>
<br></div></body></html>