Thanks, I'll try this.  I had already set to use local time as suggested by
others, but that is only for headers.  We'll see tonight if this works, but
it looks like it will.

Geoff 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Przemek
Czerkas
Sent: Thursday, November 09, 2006 1:22 PM
To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy
Subject: Re: [Assp-user] Change time of log roll

> Hi,
> 
> I have turned on daily log rolling in ASSP and it's occurring at 4:00 PM
my
> time (PST), which corresponds with midnight UTC.  How do I change this so
> that log rolling occurs at midnight local (PST) time , or any other time
for
> that matter?  I'm assuming it's in assp.pl, but I'm not sure what I'm
> looking for.
> 
> I'm running ASSP 1.2.4(0) on Windows 2003.
> 
> Thanks,
> 
> [EMAIL PROTECTED]
> 

in assp.pl, change line:
my $t=int(time()/($LogRollDays*24*3600)); # roll log every 14 days

to (this is one line, too):
my
$t=int((time()+Time::Local::timelocal(localtime())-Time::Local::timelocal(gm
time()))/($LogRollDays*24*3600)); # roll log every $LogRollDays days, at
midnight

Przemek

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
---
[This E-mail scanned for viruses by Declude Virus]


---
[This E-mail scanned for viruses by Declude Virus]


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to