The module rrEvent is available in server event plugins only.
It is already loaded/imported.
Available in:
•rrControl
•rrSubmitter
•rrServer
•rrPythonconsole
Description:
If you raise an exception, the execution is stopped. All other exceptions are seen as an error.
But if you call
raise rrCleanExit()
then RR will ignore the exception and exit the script.
Description:
Returns the job that triggered the event.
Description:
Number of log events that triggered this plugin in the last ~45s
Description:
Get the log event at index idx.
Description:
Number of error events that triggered this plugin in the last ~45s
Description:
Get the error event at index idx.
Description:
The time of the first event that triggered this plugin.
Description:
The last time this plugin was triggered.
Description:
This string contains each event in one line with time and client name.
Description:
The _Error and _Log class have a parameter named .who.
This function whoAsString() converts the .who ID into a string.
Description:
Returns the number of all jobs available in this RR application.
Description:
Returns a copy of a job by its index.
Description:
Gets the number of clients.
Description:
Gets a client by its index.
Description:
Send a Change Settings command to the rrServer.
jobIDs is a list with JobIDs of jobs that you want to send a command to.
Note:
The job in rrControl will not update until rrControl gets an update from the rrServer.
Description:
Sends a command to rrClients.
clientArray is a list with client IDs. If the list has only one element and the ID is -1, then the command is applied to all clients.
param is an optional string parameter. It can be used to send commandlines to the client with the commandID "rrGlobal._ClientCommand.cCommandLine"