I want to write some image downloader and assign it on bash. What I have and what I need:
I have:
- Command, which works fine (something like
wget http://mywebcam.com/image.jpg -O /var/cam/Image.jpg
) Root rights
Fast Internet line between my server and my webcam
What I need:
Download image from camera every second*(sleep 1?)* and rewrite it localy (my command do it well) Run this script at once and don't worry about restart (I think I need to create file with bash commands and run it once + set crontab work "on reboot" to this file, right?)
Maybe there's someone who knows what should I to do?