en:actions:actionsystem
Table of Contents
System
This action allows you to close a session, restart or shutdown the computer.
Standard parameters
Input parameters
Operation
The operation to perform:
- Disconnect: closes the current session
- Restart: restarts the computer
- Stop: shutdowns the computer
Mode
The mode to use when performing the operation:
- Ask: the system should ask for a confirmation
- Normal: the system should perform the requested operation but can be stopped by any program asking for user input
- Force: the system should perform the requested operation whithout asking the user (all processes will be closed)
Warning: forcing the system to shutdown or restart can lead to a data loss. Be careful when using this mode.
Exceptions
Not enough rights
<BOOKMARK:not_enough_rights>
This exception is thrown when Actionaz doesn't have enought rights to perform this operation. Restart Actionaz with administrative rights.
- Default action: stop the script execution
Not available
<BOOKMARK:not_available>
This exception is thrown when the requested operation is not available. This often results of an operating system limitation.
- Default action: stop the script execution
en/actions/actionsystem.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1