EasyManua.ls Logo

Axis 200 - Page 96

Axis 200
107 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix H: CRON Script Command Reference
AXIS 200 User’s Manual
94
Example 1
Example 2
Example 3
# This command will log in as “elvis” with the
# password “presley” on the host with the Internet
# address 123.123.123.123, download a hugesize
# image with the name “king.jpg” and put
# it in the directory “/home/elvis” on the remote
# host. During the download, the file name
# “tmp.jpg” will be used.
* * * * * :
ftp -host 123.123.123.123 -user elvis -pass
presley -src hugesize.jpg -dest
/home/elvis/king.jpg -temp tmp.jpg;
%
# This command will every hour, every 5
# seconds for 20 minutes, download a fullsize
# image and save the images with a time stamp in
# the filename.
0 * * * * :
ftp -src fullsize.jpg -host an.interesting.site
-dest tmp/full$h$m$s.jpg -user billy -pass
startrek -loop s5 -time m20;
%
# This command will send 1001 consecutive fullsize
# images to “funny.host.name”. The first and last
# images will be named “fullsize1000.jpg” and
# “fullsize2000.jpg”, respectively. The command
# will run for 30 minutes.
* * * * * :
ftp -host funny.host.name -user cam -pass secret
-src fullsize.jpg -dest
/home/cam/tmp/fullsize$r1000-2000.jpg -time m30;
%

Related product manuals