Friday, February 1, 2013

How to schedule a reboot using the AT Command

The "at" command can be very useful. Below is just one simple use to schedule a reboot of a Windows 2003 server at a certain time and day.

The at command:

at [\\computername] TIME [DATE] "command"

for example

at 3:00 AM Sun shutdown -r 

The above command will restart (-r) the server the command is run on at 3:00 AM on the next Sunday it encounters.

Hope this helps.

No comments: