Appendix H: CRON Script Command Reference
AXIS 200 User’s Manual
90
Commands
alert
The alert command sends messages 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
ftp
The ftp command uses the standard File Transfer Protocol (FTP) for
transferring an image from your AXIS 200 to a remote host.
Note:
❏ The ftp command keeps the connection open during each file
transfer.
# 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";
%