Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
[SOLVED] Scheduling system upgrade & reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Scheduling system upgrade & reboot (Read 10694 times)
denmmx
Newbie
Posts: 35
Karma: 5
[SOLVED] Scheduling system upgrade & reboot
«
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!
«
Last Edit: July 23, 2016, 04:47:09 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17473
Karma: 1587
Re: Scheduling system upgrade & reboot
«
Reply #1 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
«
Last Edit: July 23, 2016, 07:49:10 pm by franco
»
Logged
denmmx
Newbie
Posts: 35
Karma: 5
Re: [SOLVED] Scheduling system upgrade & reboot
«
Reply #2 on:
July 23, 2016, 07:47:29 pm »
franco,
thanks for your answer, it's very helpful for me!
Logged
franco
Administrator
Hero Member
Posts: 17473
Karma: 1587
Re: [SOLVED] Scheduling system upgrade & reboot
«
Reply #3 on:
July 23, 2016, 07:49:22 pm »
Sure thing.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
[SOLVED] Scheduling system upgrade & reboot