POV-Ray : Newsgroups : povray.off-topic : Task scheduling? : Re: Task scheduling? Server Time
3 Sep 2024 15:17:29 EDT (-0400)
  Re: Task scheduling?  
From: Le Forgeron
Date: 14 Nov 2010 10:48:18
Message: <4ce004c2$1@news.povray.org>
Le 14/11/2010 13:30, Orchid XP v8 nous fit lire :
> On 14/11/2010 12:12 PM, Tim Cook wrote:
>> How would I set up task scheduler to save an internet file every 3
>> hours? I just got around to making a task that opens the URL in a new
>> tab every 3 hours, but would rather it just saved the file (with
>> timestamp added to filename) silently. Had been doing this manually for
>> the past three years every 24 hours, more or less (there are some gaps
>> when I couldn't do it for a few days and stutters that weren't exactly
>> on time), and would like a better way of accomplishing the task.
>>
>> (The URL in question is
>> http://xplanet.sourceforge.net/clouds/clouds_4096.jpg which updates
>> every three hours...)
> 
> My inclination would be to use wget to fetch the file, and a script of
> some kind to invoke wget periodically (and decide what to name the result).
> 
Same for me, wget & cron, done (as long as the system is up), a mv from
the same cron's line after success of the wget might be a plus, but wget
does not overwrite and rename with *.### so no problem


0 0,3,6,9,12,15,18,21 * * * /usr/bin/wget
http://xplanet.sourceforge.net/clouds/clouds_4096.jpg 2>/dev/null
1>/dev/null


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.