AXIS 200
User’s Manual Appendix H: CRON Script Command Reference
101
snapshot
This command updates the
lastshot.jpg
image. The command can
also be used for controlling the relay switch.
Syntax
snapshot [-l LOOPTIME] [-t TOTALTIME] [FILE];
Options
-l
Specifies the time between two consecutive image updates.
-t
Specifies the duration of the command. Format:
h<hours>m<minutes>s<seconds>
.
[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.
* * * * * :
snapshot fullsize.jpg;
%
# During one minute, the lastshot image will be
# updated as halfsize.jpg with two-seconds
# intervals.
* * * * * :
snapshot -l s2 -t m1 halfsize.jpg;
%