
Appendix H-The Programming Script
AXIS 2400/2401 Administration Manual
74
-n
Specifies the number of buffered images to be included in the e-mail. Only valid if
-src
is set
to
images/buffer.jpg
.
Example 1
Example 2
Example 3
ptz
This command pans, tilts and zooms connected video cameras.
Syntax
ptz [-speed VALUE[DEVICE]][-preset POSITION]
[-cam CAMERANUMBER][-zoom VALUE][-move DIRECTION]
[-pan ANGLE][-tilt ANGLE];
Options
-speed
Supported by Canon and Sony drivers only, this parameter defines within the range 1 - 999,
the speed with which the camera source moves between the defined positions; where:
1
is
slow and
999
is fast.
# This command will send an e-mail with the
# subject "Hello" and the attached file
# fullsize.jpg to [email protected]
* * * * * * :
mail -s Hello -a fullsize.jpg -t [email protected];
%
# This command will send an e-mail with the
# subject "This "fullsize.jpg" was sent from my
# AXIS 2400" to two recipients.
* * * * * * :
mail -s "This \"fullsize.jpg\" was sent from my AXIS 2400" -a fullsize.jpg -t
[email protected] [email protected];
%
# This command will send an e-mail with two attachments.
* * * * * * :
mail -a fullsize.jpg halfsize.jpg -t me@home;
%