OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: denmmx on July 23, 2016, 11:55:20 am

Title: [SOLVED] Scheduling system upgrade & reboot
Post by: denmmx on July 23, 2016, 11:55:20 am
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!
Title: Re: Scheduling system upgrade & reboot
Post by: franco on July 23, 2016, 04:46:56 pm
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

Title: Re: [SOLVED] Scheduling system upgrade & reboot
Post by: denmmx on July 23, 2016, 07:47:29 pm
franco,

thanks for your answer, it's very helpful for me!  ;)
Title: Re: [SOLVED] Scheduling system upgrade & reboot
Post by: franco on July 23, 2016, 07:49:22 pm
Sure thing. :)