Scheduled Reboot of server?

  • Thread starter Thread starter Dr Zoidberg.
  • Start date Start date
D

Dr Zoidberg.

If I wanted to schedule a server to reboot during the middle of the night
(for example after installing some software that needs a reboot) what would
be the bst way of doing this?

Is there a command you can stick in a batch file that you could run at a set
time?

--
Alex

"I laugh in the face of danger"

"Then I hide until it goes away"

www.drzoidberg.co.uk
 
Shutdown.exe (from the Resource Kit) or PsShutdown.exe from
[www.sysinternals.com].

This line will shutdown the server at 23:00 every night of the week. Replace
<servername> with the name of your server, if you don't specify <servername>
it will shutdown the local computer.

at \\<servername> 23:00 /every:m,t,w,th,f,s,su shutdown /r

Regards,
/Jimmy
 
Dr said:
If I wanted to schedule a server to reboot during the middle of the
night (for example after installing some software that needs a
reboot) what would be the bst way of doing this?

Is there a command you can stick in a batch file that you could run
at a set time?

shutdown.exe from the resource kit and the scheduler or WinAt or
the At command
 
Steve said:
Hi Alex

glad to have helped ... thanks for the feedback

And a bit more feedback to let you (and others) know that it worked just
fine.
The two servers rebooted and restarted on schedule saving me from having to
come in early or work late.
--
Alex

"I laugh in the face of danger"

"Then I hide until it goes away"

www.drzoidberg.co.uk
 
Back
Top