Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

site monitoring

Name: Anonymous 2007-02-09 12:28

I'm looking for a way to save an image from a website each time its updated. It's a webcam feed that gets updated roughly every 10 minutes. The image name is always the same, so my first thought of simply snatching the pictures from the browser's cache is gone. Any hints or software to help me out?

Name: Anonymous 2007-02-09 12:52

Put the following in your crontab

0,10,20,30,40,50 * * * * curl -o `date --iso-8601=minutes`.jpg http://example.com/image.jpg

From the Linux man pages, should be easy to translate to any other UNIX.

Don't change these.
Name: Email:
Entire Thread Thread List