Hello:
I have a scheduler to start a script to update the ROS version, but it does not work.
In scheduler I call the script and in the script I program the following lines.
/log info AutoUPDATE_INICIO;
/system package update
check-for-updates once
:delay 3s;
:if ( [get status] = “New version is available”) do={ install }
/log info AutoUPDATE_FIN
The scheduler compiler does increase its value, but not the number of times the script runs and it does not work.
otherwise, if the code I put in the scheduler if that works fine.
When creating the scheduler and the script I add all the policies
I am doing something wrong?
Could it be a bug?
Thanks for any contribution !!