Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

Schedule a Shutdown or Reboot on a Server

E-mail Print PDF

Windows

Download and install the PsTools package from SysInternals.

Use the 'at' command to schedule the reboot:

at 2:00am c:\pstools\psshutdown.exe -r -f -c -t 10 

or shutdown:

at 2:00am c:\pstools\psshutdown.exe -s -f -c -t 10 

Where

-s: Shutdown windows server
-r: Reboot windows server
-f: Forces all running application to exit
-c: Allow the shutdown to be canceled user
-t: Specifies the countdown in seconds until the shutdown

Linux

For SME Server, you can use the Server-Manager facility, or you can shut down or restart most any Linux server at a console prompt using one of the following commands.

Reboot at specified time:

shutdown hh:mm -r

Reboot now (three equivalent options):

shutdown now -r

or

reboot

Shutdown at specified time:

shutdown hh:mm -h

Shutdown now (two equivalent options):

shutdown now -h

or

halt
Last Updated on Monday, 04 May 2009 10:05  

Your external IP

You are connecting to this site from: 38.107.179.231

Secure Client Login

Email Address:

Password: