2

How can I schedule an automatic reboot of my server with CentOS via terminal or via plesk every 12 hours?

EEAA
  • 110,608

1 Answers1

11

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?

EEAA
  • 110,608