I know my TrueNAS box isnât running all the time, so I use scripts to wake it and shut it down when complete. (I just run scrubs manually since itâs not running very often)
As mentioned I use Wake On Lan.
Here is an example from a Windows batch file, the WOL command, and the shutdown command from putty (the text file just contains the shutdown command, shutdown -h now):
Okay, I used the Main server to wake up the backup server with âipmitool -I lanplus -H (IP addresse) -U *** -P *** chassis power onâ under a âCron Jobâ.
But the shutdown code âchassis power offâ just kills the server. What code shod I use for a normal shutdown of the server?