User Tools

Site Tools


en:actions:actionsystem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:actions:actionsystem [2016/10/09 11:10] (current)
Line 1: Line 1:
 +====== 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 =====
 +
 +  * [[en:​actions:​exceptions#​Bad parameter|Bad parameter]]
 +  * [[en:​actions:​exceptions#​Code error|Code error]]
 +  * [[en:​actions:​exceptions#​timeout|Timeout]]
 +  * [[en:​actions:​actionsystem#​not_enough_rights|Not enough rights]]
 +  * [[en:​actions:​actionsystem#​not_available|Not available]]
 +
 +==== 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: 2016/10/09 11:10 (external edit)