Nice thinking Jeremy :-)

Only one small caveat (question)...Wouldn't this destroy the ability to 
keep x number of reports before over-writing??

I keep 4 weeks worth of reports, so after report.html.4, logrotate starts 
over-writing. I haven't tried yet, but I think re-naming would stop this. 
How about cp??

Best regards, Brian

> 
> 
> Brian Clifton wrote:
> 
> > Dear All
> >
> > I am currently using crontab/logrotate to rotate my logfiles and Analog
> > reports. However the syntax format appends a number to the filename e.g.
> >
> > report.html -> report.html.1 etc...
> >
> > Does anyone know of a way to change this e.g. 1.report.html
> 
> mv report.html.1 1.report.html
> 
> 
> You can add postrotate commands to the end of the section of your
> logrotate.conf (or logrotate.d/*) configuration file.
> 
> HTH
> 
> Jeremy Wadsack
> Wadsack-Allen Digital Group
> 
> 
> ------------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this mailing
> list, send mail to [EMAIL PROTECTED] with "unsubscribe"
> in the main BODY OF THE MESSAGE. List archived at
> http://www.mail-archive.com/[email protected]/
> ------------------------------------------------------------------------
> 
> 
> 


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to