Auto Schedule To Restart Server
Is there a way to schedule at a certain time to restart the server ? This is for the purpose of maintenance.
Thank you
Windows Forum
Is there a way to schedule at a certain time to restart the server ? This is for the purpose of maintenance.
Thank you
by ruturaj
by twhong
by spencer chan
by twhong
by vshipp
Answer1 is good, the AT command is flawless.
if you just execute the shutdown command though, your server will shutdown... NOT Reboot!
You need use the following switches behind the shutdown.exe command
c:>shutdown /r t:120 "MSG Server being shutdown in 2 minutes 11:00 pm for maintenance - Save your work and close open programs" /y /c
This will allow any unexpected late workers a chance to close before server is downed, delay it for 2 minutes, answer "YES" to any pop up boxes, Gracefully shutdown any open programs and make sure thar the server restarts after shutdown. Be sure to add the time to the "message" so users do not get confused the next morning if they did not logoff.
PS: this can as well be put into a batch fileand run in the windows scheduler.
by twhong
by jaffe_
Hi..
You could use the AT command, but it can be easier to use the winAT utility . You can find this in the resource kit. (winat.exe)
by twhong
by twhong
This discussion is closed to new replies.
Sort by Trending