Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Automatic Firmware Update Cron not running/one-time automated update
« previous
next »
Print
Pages: [
1
]
Author
Topic: Automatic Firmware Update Cron not running/one-time automated update (Read 1220 times)
OPNsense4ever
Newbie
Posts: 24
Karma: 2
Automatic Firmware Update Cron not running/one-time automated update
«
on:
July 25, 2023, 06:07:26 pm »
Hello,
I am trying to have an OPNsense automatically reboot to install new firmware during off-hours. I don't want it to try and reboot every day or even every week. Just fire once and I'll disable the cron job after that. If there is a better way to do this I would be interested.
I'm not sure where to start troubleshooting this, pointers would be greatly appreciated. I'm not sure what logs to check and I don't see where the job would be running in the regular filesystem (/etc/cron.d, /etc/crontab). Freebsd doesn't seem into run-parts.
I found a previous post where someone brought this up and franco mentioned clicking the "Apply" button. I PROMISE I did that. He also said something about rebooting first? Do I need to reboot to enable this cron? That wouldn't help a lot for what I'm trying to do.
TIA for your help.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Automatic Firmware Update Cron not running/one-time automated update
«
Reply #1 on:
July 25, 2023, 10:52:53 pm »
These actions normally require a pair of eyes on it just in case but for your ask, wouldn't a few cron jobs sequenced for the same day but some minutes apart not do the trick?
Job:
1. Issue a reboot
2. Automatic firmware update
These are in System | Settings | Cron . There you add those two jobs.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Automatic Firmware Update Cron not running/one-time automated update
«
Reply #2 on:
July 27, 2023, 10:17:45 am »
# cat /var/cron/tabs/nobody
The firmware cron job should be in there.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Automatic Firmware Update Cron not running/one-time automated update