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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduling Server Restarts 1

Status
Not open for further replies.

vijmat

IS-IT--Management
Jun 19, 2001
100
US
I am trying to restart an NT 4.0 server using some batch script which would start at a certain time (maybe midnight when I am not there). Any suggestion on how to achieve this.

Thanks

Viju Mathai
 
use the shutdown.exe command from the resource kit,
make sure the scheduler service is started automatically, that it is running on an administrator account, and that it is active, then you can schedule an executable (e.g. a batch file) to run at a certain time on a certain day using the 'at' command.

Look at the shutdown command help for more info
Peter Van Eeckhoutte
peter.ve@pandora.be

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top