[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Any Better Server Shutdown?

Experts,

I use Shudown.exe to schedule server shutdowns, usually with the GUI.  I connect remotely to a network and see that the machine requires rebooting, and scgedule it for how ever many hours I need (via seconds in gui).  Is there any better way? I always need quite a few hours, because I ususally want to do it in the middle of the night.

Also, if I set a timed shutdown via this, and need to cancel it before it happens, does the shutdown become a scheduled task that I can cancel??

Thanks
0
Mixmangle
Asked:
Mixmangle
1 Solution
 
Jeff BeckhamEngineerCommented:
The best thing is to create a reboot.cmd file with a command in it like "shutdown.exe -r -t 0 -f" and then schedule that via the Windows scheduler.  You can set it up to schedule at any time in the future, either once or recurring.
0
 
csk_73Commented:
Hi Mixmangle,

have you looked psshutdown from www.sysinternals.com?

Hope this helps!

Cesc
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now