Appendix H: CRON Script Command Reference
AXIS 200 User’s Manual
96
Example 1
Example 2
Example 3
offline
This command terminates the current PPP connection. Used together
with the online command.
Syntax
offline;
# This command will send an e-mail with the
# subject “Hello” and the attached file
# fullsize image to someone@company.com
* * * * * :
mail -s Hello -a fullsize.jpg -t
someone@company.com;
%
# This command will send an e-mail with the
# subject “This “fullsize.jpg” was sent from my
# AXIS 200” to two recipients.
* * * * * :
mail -s "This \"fullsize.jpg\" was sent from my
AXIS 200" -a fullsize.jpg -t someone@axis.com
anotherone@axis.com;
%
# This command will send an e-mail with five
# attachments.
* * * * * :
mail -s "Some images from the summer house." -a
fullsize.jpg halfsize.jpg hugesize.ppm cronscript
config -t me@at.home;
%