Official ZPE/YASS documentationshutdown
shutdown ([string command, [integer minutes]]) ⇒ void
Runs the shutdown command, given a parameter, command, which specifies the shutdown request (e.g. -r for restart).
The ZPE/YASS implementation of the
shutdown command was made even further
supportive of multiple platforms in version 1.10.4 (Exceptional Elephant).
1.10.4 also made it possible to run the command without providing any parameters to it, which by default will result in a pure shutdown.
shutdown command was improved in version 1.8.1 to make it work with time based
minutes argument was added to allow the program
to specify in how many minutes the system should shutdown. This is based on the operating
system and runs an appropriate Unix or win32 shell command to do this.