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.
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.
# cat /var/cron/tabs/nobody
The firmware cron job should be in there.
Cheers,
Franco