Alertra Script Language 1.9
warning
Causes a warning message to be sent to all eligible contacts assigned to this script. For the warning to actually be sent, you must exit the script before any other statements are executed (see goto).
usage: warning [message]
parameters:
req | name | type | description |
---|---|---|---|
Y | message | expression | Text of the message to send to the eligible contacts. |
examples
warning "Website has changed"
Sends a warning message saying, "Website has changed," to all eligible contacts.
warning "Total time of " + $TOTAL_RUNTIME + " seconds outside of allowed range"
Assuming the script has been running for 10 seconds, this example sends a warning message to all eligible contacts that says, "Total time of 10 seconds outside of allowed range"
Alertra Script Language: Language Reference