EasyManua.ls Logo

Axis 200+ - Page 113

Axis 200+
122 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 G: CRON Script Command Reference AXIS 200+ Users Manual
112
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 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 five seconds
# for twenty 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.
* * * * * :
ftp -host funny.host.name -user camera -pass secret
-src fullsize.jpg -dest
/home/camera1/tmp/fullsize$r1000-2000.jpg;
%

Other manuals for Axis 200+

Related product manuals