curl-users
Re: curl automation narative
Date: Sat, 27 Sep 2003 10:04:41 +0100
In message <20030927060434.87530.qmail_at_web80311.mail.yahoo.com>
Paul William <pwilliam_at_sbcglobal.net> wrote:
> curl -O http://www.goes.noaa.gov/GIFS/WCIR.JPG
> and then do something (in Perl?) to rename the file to a unique name?
Ideally the name would have the date and time captured in it. Or is there
a curl saved file re-naming or unique naming feature?
>
> If I want to run that curl statement every hour, would it be best to
schedule it to run as a crontab job?
I've been doing something like this for over a year now on my Windows box
using nothing more complex than a scheduled task and a batch file.
I too give the file a unique name using the date and time, I also place the
picture on my desktop background.
Couldn't be easier thanks to cURL.
-- Stuart Halliday Webmaster of the Acorn Cybervillage http://acorn.cybervillage.co.uk/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-09-27