How can I schedule an automatic reboot of my server with CentOS via terminal or via plesk every 12 hours?
Asked
Active
Viewed 2,209 times
How can I schedule an automatic reboot of my server with CentOS via terminal or via plesk every 12 hours?
Add the following to root's crontab:
0 0,12 * * * /sbin/init 6
But honestly, why on God's green earth would you want to reboot every 12 hours?