a public resource for all things web hosting, systems administration, and dedicated server management.

Automating dedicated server reboots

Linux servers

[root@server root]# at midnight
at> shutdown -h now

Press Ctrl-D here to signal an end of commands to run

at> <EOT>
job 17 at 2006-06-22 00:00
[root@server root]#

Windows servers

C:\> at 00:00 shutdown /s /c "Shutting down for some reason" /f /d /p:4:1

More articles : Web hosting support, dedicated server administration and useful hosting tools