Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduled Server Restarts

Status
Not open for further replies.

jshepherd

IS-IT--Management
Apr 7, 2003
112
GB
I am looking for the best way to schedule a restart of W2K servers at a specific time over night.

I assume I can use the Windows Scheduler feature but I don't the command or file that will restart the OS.


John
 
If you want to reboot the server W2k thus it can restart, you can use if you use TS, the command line :
"tsshutdn 10 /reboot /server:[server_name_NetBios]"
or "tsshutdn 10 /reboot /server:[IP adress]"
your server will rebbot in 10 seconds.
put this command line in a script ".bat"
and schedule it with the at command
at 00:00 /every:m [name_of_the_script]
and your server will reboot every mondays at 00:00
Hope this help you.
Stf

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top