User Manual

Table Of Contents
Appendix H: CRON Script Command Reference AXIS 240 Users Manual
118
log
This command writes a message to the camera server log file.
Note:
To display the log file, you type the following in the
address/location field of your Web browser:
http://<camera server>/log/messages
Syntax
log [MESSAGE];
Options
[MESSAGE]
The message string must be surrounded by quotation marks.
Example:
mail
This command uses the Simple Mail Transfer Protocol (SMTP) for
sending images and files from your AXIS 240 to e-mail addresses.
Note:
To use the mail command, you must specify the IP address of the
mail server and a valid return address on the TCP/IP page.
Syntax
mail [-s SUBJECT] [-a ATTACHMENTS] [-t RECIPIENTS]
[-cam CAMERANUMBER] [-b BUFFERTYPE] [-n NUMBER];
Options
-s
Specifies the subject text for the e-mail. A simple one-word
subject does not require quotation marks. A subject with
multiple words must be surrounded by quotation marks.
-a
Specifies attachments such as images or files. To include the
image buffer, specify
images/buffer.jpg
.
-t
Specifies the e-mail address of the recipient(s).
# This command will write a message to the log file
# when someone presses the Control button on the
# camera server front panel.
* * * * * /B :
log "The Control button was pressed." ;
%