Appendix G: CRON Script Command Reference AXIS 200+ Users Manual
102
Commands
alert
The alert command sends a message to a remote host.
Syntax
alert [-host HOST] [-port PORTNUMBER]
[-message STRING];
Options
-host Specifies the host name or Internet address of the remote host.
-port Specifies the TCP port number
in the range [0..65534].
-message
Specifies the message that will be sent to the remote host. The
message must be surrounded by quotation marks. Hexadecimal
coded messages must be preceded by
\0x, e.g. "\0x04" for the
non-printed character EOT. To include a quotation mark, it
must be preceded by a backslash, e.g.
\".
Example
# This command will send the message "Alarm
# "0013" from AXIS 200+" to the remote
host when
# input port 1 goes high.
* * * * * /I1:
alert -host 172.16.253.80 -port 2703 -message "Alarm
\"0013\" from AXIS 200+";
%