[SOLVED] Scheduling system upgrade & reboot

Started by denmmx, July 23, 2016, 11:55:20 AM

Previous topic - Next topic
July 23, 2016, 11:55:20 AM Last Edit: July 23, 2016, 04:47:09 PM by franco
Is it possible to schedule the system upgrade and automatically reboot, for example, at 4 o'clock AM? Web interface allows to do this things only by hand, but I need to upgrade gateway while the least number of users accessing to Internet through it.
Thanks!

July 23, 2016, 04:46:56 PM #1 Last Edit: July 23, 2016, 07:49:10 PM by franco
Hi denmmx,

Under System: Settings: Cron, add a new entry, select command "Automatic firmware update" and configure cron accordingly.

The run is equivalent to the console option 12), and when you're lucky you can see the progress from the GUI as well as in 16.7 the firmware page can "attach" to the running upgrade so you don't have to have a page open or when you close it/navigate aways from it by accident.

No warranties on this. It will also upgrade from 16.1.20 to 16.7 when it gets the chance. ;)

We do have a ticket to further refine the update modes though that will be in a 16.7.x release on our way to 17.1:

https://github.com/opnsense/core/issues/814


Cheers,
Franco


franco,

thanks for your answer, it's very helpful for me!  ;)