[Dxspider-support] New version of check_build.pl and others

Keith Maton g6nhu at me.com
Tue Feb 7 10:57:29 GMT 2023


I’ve just installed this version and when I ran it, according to the debug log, there’s a new build.  The cluster was restarted.

I checked and I’m running build 497.

Ran it again and again, according to the debug log, there’s a new build.  The cluster was restarted.

I’m still running build 497.

So it seems a little enthusiastic :)

pi at dx-spider-mojo:/home/sysop/spider $ grep -E "[no|a] new build" /spider/local_data/debug/2023/038.dat
1675767185^RING: 10:53:00^(chan) -> D G6NHU There is a new build
1675767253^RING: 10:54:13^(chan) -> D G6NHU There is a new build




> On 7 Feb 2023, at 09:35, Kin via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
> 
> Hi,
>  
> 1. Modifications to check_build.pl script 
>  
> * Before doing a possible git pull, the possible commit is checked.
> * Backup is only triggered if dxspider is updated
> * The backup directory is moved to /home/sysop/spider.backup
>  
> Note: Only for Mojo version > build 495
>      File::Copy::Recursive has to be installed
>           Debian (or similar): apt install libfile-copy-recursive-perl
>           Alternative: cpan install File::Copy::Recursive
>      Run from the dxspider terminal or the crontab
>      Can be automated with crontab i.e.
>           0 1 * * 1,2,3,4,5 run_cmd("check_build Y")
>           0 1 * * 1,2,3,4,5 run_cmd("check_build")
>                      
> 2. New script undo_newbuild.pl
>  
> This utility is used to undo the last update in case of problems.
> It is located in /spider/local_cmd.
> Run from the dxspider terminal or crontab
>  
>  
> 3. Improved update_ip.pl script
>  
> * Create variables (if they don't exist) in /spider/scripts/startup
> * Modify the variables in /spider/scripts/startup
>  
> Note: Only for Mojo version > build 495
>      Path::Tiny must be installed 
>           Debian (or similar): apt install libpath-tiny-perl
>           Alternative: cpanm install Path::Tiny
>      Run from the dxspider terminal or the crontab
>      Can be automated with crontab i.e.
>           00,10,20,30,40,50 * * * * run_cmd("update_ip")
>  
> Everything has been tested on Debian and Ubuntu with success.
>  
> https://www.dropbox.com/s/8j1xdoinqwomr50/check_build.pl?dl=0
>  
> 73 de Kin EA3CV
>  
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk <mailto: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/20230207/2fb1c61b/attachment.htm>


More information about the Dxspider-support mailing list