Jump to content

Recommended Posts

Posted (edited)

If you want it in a script just create a .bat file and call that from the scheduler.

 

Here's what I did.

 

---------

Rem Auto reboot script

Rem - Use scheduler to activate out of hours

 

C:\Windows\system32\shutdown.exe -r -t 60 /d p:2:17

 

exit

--------------

 

you may want to use -f (to force a showdown if your server refuses to without it).

Edited by lquinn

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...