Jump to content

Windows clean shutdown for Unraid 4.7


Phlegm

Recommended Posts

Posted

Is there a command in windows I can use to do a clean shutdown of UnRAid 4.7? I want to use the windows scheduler to do a weekly shutdown of the UNRAID server.

 

I plan to use WOL to start UNRaid up on a schedule too.

 

Thanks to all

 

 

Posted

If you have installed the clean power down script in unraid, you can use a program called "TST10.exe" <- google it

 

 

contents of shutdowntower.bat

=======================

C:\unraid-powerdown\TST10.exe /r:C:\unraid-powerdown\PowerdownScript.txt

 

 

 

contents of PowerdownScript.txt

========================

tower

WAIT "login:"

SEND "root\m"

WAIT "Password:"

SEND "secretpassword\m"

WAIT ":~#"

SEND "/sbin/powerdown\m"

WAIT "Broadcast message from root"

 

HTH

Tony

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...