POV-Ray : Newsgroups : povray.off-topic : Task scheduling? : Re: Task scheduling? Server Time
3 Sep 2024 21:14:16 EDT (-0400)
  Re: Task scheduling?  
From: Nicolas Alvarez
Date: 17 Nov 2010 19:00:36
Message: <4ce46ca4$1@news.povray.org>
Darren New wrote:
> Tim Cook wrote:
>> Hmm.  Looks like it's working, but it's saving the files with default
>> filenames...clouds_4096.jpg.1 and clouds_4096.jpg.2 and so forth, but
>> I'd like the names to be better.  Hmmm.
> 
> You're going to need to write a .bat file or something to pluck the
> date/time into an environment variable and use it in a command to either
> rename the file or pass it on the -O argument.
> 
> date +%s
> 
> should give you seconds-since-midnight as a date, if you're comfortable
> with unixy scripting.

"date +%s" won't work on Windows unless you got date.exe from ported GNU 
coreutils.


Post a reply to this message

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