Quote:
| Originally Posted by ChrisA it seems like a good practice to reboot servers and appliances on a periodic basis to clean up any "crap" lying around on the system. |
I think this is something you learned from Microsoft. :)
I have a firewall on SPLAT that hasn't been rebooted in over a year. I have a pair of Cisco switches that haven't been rebooted in 5 years, 8 months.
Of course, we have an AS/400 that for some reason they reboot weekly, even though those systems are known to stay up for years on end as well.
(Sadly, though, after renovating the data center without any interruption of service, the fire inspector is making us test the "Emergency Power Out" button, which will cut all power to everything in that room, so there goes our uptime).
Back on topic, to answer your original question, you can use /etc/crontab to schedule a job to run every month. I think you want a line like:
30 3 28 * * /sbin/init 6
That should (I've never used IPSO, but am pretty confident it's linux based) run the command '/sbin/init 6' at 3:30am on the 28th of every month. You'll want to double check the crontab syntax on IPSO ('man crontab' or 'man 5 crontab'), and replace /sbin/init 6 with whatever command you use to safely and cleanly reboot the box.
The one question I have is, what if it doesn't reboot successfully? Are you okay with that firewall being down from 3:30am until whenever the next admin arrives?