[Dxspider-support] How to configure your dxspider to update automatically.

Danilo Brelih s50u at s50e.si
Fri Feb 7 16:29:50 GMT 2025


Keith thanks for sharing.
It might not be a bad idea to recall for better transparency of new DXspider 
updates also to turn on the "DXSpider Channel" on Telegram. Routine for sending 
a message via Telegram bot is part of the Kin's check_build script and needs to 
be enabled in Local.pm and DXVars.pm.

https://github.com/EA3CV/dxspider_info/blob/main/Local.pm

https://github.com/EA3CV/dxspider_info/blob/main/DXVars.pm

GL Dan, S50U


> All,
>
> Over the last couple of days, I’ve had two partner sysops say that they’re not 
> running the latest version of dxspider and in each case, I’ve been able to 
> give them a couple of commands to add to their crontab to keep their node 
> updated.
>
> I know this has been mentioned before but not for a while so I thought I’d 
> share the details again.
>
> Log in to your node and edit crontab.  You may (or may not) need sudo at the 
> start depending on how you’re logged in.
>
> sudo nano /spider/local_cmd/crontab
>
> Add the following lines:
>
> # Force update Kin's update utilities each night prior to update
> 30 22 * * * 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 22 * * * spawn('cd /spider/local_cmd; wget -q 
> https://raw.githubusercontent.com/EA3CV/dxspider_info/main/undo_newbuild.pl -O 
> /spider/local_cmd/undo_newbuild.pl')
> 35 22 * * * run_cmd('load/cmd')
>
> # Check for updates on weekdays at 22:40 and 01:07, avoiding contest times at 
> weekends
> 40 22 * * 1,2,3,4,5 run_cmd("check_build Y 5")
> 07 01 * * 1,2,3,4,5 run_cmd("check_build Y 5")
>
> You may want to adjust the times slightly because apart from anything else, we 
> don’t want every node updating at exactly the same time when there’s an update.
>
> I have my crontab set to local time rather than UTC.
>
> This is using the excellent script provided by Kin.  At 22:30 and 22:32, it 
> grabs a fresh copy of the two scripts from Github in case Kin has made any 
> changes.  There are two scripts, check_build which does the actual update and 
> undo_newbuild which can roll back if needed.
>
> Then at 22:40 each weekday night and 01:07 each weekday morning, the script 
> runs which checks for a dxspider update.  If there is one available, it first 
> takes a backup before updating.  Up to five backups will be kept.  The node is 
> only restarted if an update is applied and it’s only down for a fraction of a 
> second.
>
> I hope this is useful.
>
> 73 Keith G6NHU
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support


-- 
S50CLX DX Cluster <https://s50clx.infrax.si>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20250207/8f5b176f/attachment-0001.htm>


More information about the Dxspider-support mailing list