[Dxspider-support] The 'perfect' cron list

Dirk Koopman djk at tobit.co.uk
Thu Mar 2 18:53:58 GMT 2023


On 02/03/2023 18:45, Mikel EA2CW via Dxspider-support wrote:
> Hello, Mike
>
> If you use Kin's check_build, you don't need these lines
>
> # 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)
>
> I should add at least the badip's updates as:
> # BADIP's, TOR & Others
> 17 4 * * * spawn('cd /spider/local_data; wget -qN 
> http://www.dxspider.net/download/badip.torexit')
> 17 4 * * * spawn('cd /spider/local_data; wget -qN 
> http://www.dxspider.net/download/badip.torrelay')
> 17 4 * * * spawn('cd /spider/local_data; wget -qN 
> http://www.dxspider.net/download/badip.global;sort badip.global | uniq 
> > badip.global')

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

You no longer need to do the sort.. uniq.. commands. The line above will 
be just fine.

All lists now have duplicate entries removed when they are generated.

> 18 4 * * * run_cmd('load/badip')
>
>
> 73, Mikel
>
> El 02/03/2023 a las 19:26, Michael Walker via Dxspider-support escribió:
>> 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
>>
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>




More information about the Dxspider-support mailing list