User Manual

Table Of Contents
Appendix H: CRON Script Command Reference AXIS 240 Users Manual
124
-cam Specifies the camera source, i.e. 1-5. If omitted, the default
camera will be used.
[FILE]
Specifies the image type: fullsize.jpg, halfsize.jpg,
hugesize.jpg, or zoom.jpg.
If using the command for controlling the relay switch, you
specify
io/relayon.txt and io/relayoff.txt, respectively.
Example 1
Example 2
# This command will update the lastshot.jpg image
# with a fullsize image from camera 2.
* * * * * :
snapshot fullsize.jpg -cam 2;
%
# During one minute, the lastshot image will be
# updated as halfsize.jpg with two-seconds
# intervals.
* * * * * :
snapshot -l s2 -t m1 halfsize.jpg;
%