Sounds as if you need to use the DATE::CALC module. All the date addition,
subtraction, formatting, generation etc. functions I have ever had need for
are in there, and it has very good documentation in its perldoc. It's
probably not part of your standard installation, though. I'd try it and see
if that works for you.

Steve H.

-----Original Message-----
From: Tim Musson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 21, 2001 10:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Still can't get this !@#$%^&* to work


Hey Tom,

Wednesday, July 18, 2001, 10:25:02 AM, my MUA believes you used
(X-Mailer not set) to write:

TY> Hey all, Okay, I'm still trying to get this log file script to
TY> work.  The end result should just be, if it's the 18th, the log
TY> file should be 090000FIMSOM090Aevent-20010717.log.  However, I
TY> keep getting it to produce the same day, instead of the previous.
TY> This script is set to run on an NT server at 12:01am.  I'm really
TY> pulling my hair out on this one.

Why wouldn't you start it at 23:59, generate your date variable, sleep
for 2 miniuts, then do your ServiceStop/Roll Log/ServiceStart?

--
[EMAIL PROTECTED]
Using The Bat! (http://www.ritlabs.com/the_bat/) eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
I'm planning to be spontaneous tomorrow.


NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to