User Manual

Table Of Contents
Appendix H: CRON Script Command Reference AXIS 240 Users Manual
108
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 IP 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
buffer_init
The buffer_init command initiates or clears the image buffers. This is
needed in order to store images using the buffer_start and buffer_stop
commands.
Syntax
buffer_init
[[CAMERANUMBER],[IMAGE],[SIZE][:[CAMERANUMBER],[IMAGE],
[SIZE]]];
Options
CAMERANUMBER
Specifies the camera source, i.e. 1-5.
# This command will send the message "Alarm
# "0013" from AXIS 240" to the remote
host when
# input port 1 goes high.
* * * * * /I1:
alert -host 172.16.253.80 -port 2703 -message "Alarm
\"0013\" from AXIS 240";
%