General discussion

Locked

Auto Schedule To Restart Server

By twhong ·
Is there a way to schedule at a certain time to restart the server ? This is for the purpose of maintenance.

Thank you

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Auto Schedule To Restart Server

by ruturaj In reply to Auto Schedule To Restart ...

You can use the AT command to schedule a particular task in NT it requires the Schedule service to be running (To get more on the command AT type AT /? at the command prompt) for your task you will require the shutdown.exe from the resource kit.

Collapse -

Auto Schedule To Restart Server

by twhong In reply to Auto Schedule To Restart ...

The question was auto-closed by TechRepublic

Collapse -

Auto Schedule To Restart Server

by Spencer Chan In reply to Auto Schedule To Restart ...

The best way is to connect your NT Server to a online UPS, UPS is important as Antivirus software. Software that come with UPS normally has a function of schedule the shutdown of you NT Server.

Collapse -

Auto Schedule To Restart Server

by twhong In reply to Auto Schedule To Restart ...

The question was auto-closed by TechRepublic

Collapse -

Auto Schedule To Restart Server

by vshipp In reply to Auto Schedule To Restart ...

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 <DATE> 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.

Collapse -

Auto Schedule To Restart Server

by twhong In reply to Auto Schedule To Restart ...

The question was auto-closed by TechRepublic

Collapse -

Auto Schedule To Restart Server

by jaffe_ In reply to Auto Schedule To Restart ...

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)

Collapse -

Auto Schedule To Restart Server

by twhong In reply to Auto Schedule To Restart ...

The question was auto-closed by TechRepublic

Collapse -

Auto Schedule To Restart Server

by twhong In reply to Auto Schedule To Restart ...

This question was auto closed due to inactivity

Back to Windows Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums