Alertra Script Language 1.9
runlimit
Sets the number of seconds the script should be allowed to run before it is cancelled with a runtime error. The script might actually run longer, the runlimit is only checked before execution of each command. Maximum value is 300 seconds (five minutes). Minimum value is 5 seconds.
usage: runlimit [seconds]
parameters:
req | name | type | description |
---|---|---|---|
Y | seconds | expression | Number of seconds to allow script to run |
examples
runlimit 10
This script will be allowed to run for 10 seconds before being killed.
Alertra Script Language: Language Reference