Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 611 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 611 Bytes

Timelapse Script

This script pulls an image from a network camera and uploads it to a CMU Box account. If either the download or upload fails, [email protected] will be notified by email.

To use this script, add lines to the crontab. For example, if you wanted to pull images every 30 seconds from a camera you would add the following lines to the crontab.

* * * * * /path/to/file/getimage.sh camera_hostname camera_username camera_password andrewid andrewid_password
* * * * * sleep 30 && /path/to/file/getimage.sh camera_hostname camera_username camera_password andrewid andrewid_password