User Manual

Table Of Contents
AXIS 240 Users Manual Appendix H: CRON Script Command Reference
111
Example 1
Example 2
Example 3
# This command will keep loading fullsize.jpg images.
* * * * * * :
buffer_start -src fullsize.jpg -cam 3 -interval s30
-duration inf;
%
# When someone presses the Control button, this
# command will store 10 hugesize.jpg images.
* * * * * /B :
buffer_start -src hugesize.jpg -store 10;
%
# At startup, the buffer is initialized to hold 15
# fullsize.jpg images. New images are captured once
# every second until another buffer_start or
# buffer_stop command is issued.
* * * * * BOOT :
buffer_init 1,2,15;
buffer_start -src fullsize.jpg -interval s1 -duration
inf;
%
# When port 1 is triggered, additional 5 images are
# captured before the buffer is locked. All the
# images in the buffer are then sent in an e-mail to
# someuser@somehost.com. Finally the buffer is
# restarted.
* * * * * /I1:
buffer_stop -src fullsize.jpg -store 5;
mail -s "Buffered images" -a images/buffer.jpg -t
someuser@somehost.com -b fullsize.jpg -n 15;
buffer_start -src fullsize.jpg -interval s1 -duration
inf;
%