I'm using cygwin on windows and it does not have logrotate. Hmmm... I see my
SuSE has logrotate but that does not help me.

-----Original Message-----
From: John W. Krahn 
Sent: Wednesday, August 09, 2006 5:07 PM
To: Perl Beginners
Subject: Re: How to generate unique log file names for cron?

siegfried wrote:
> I have daily cron jobs that clobber their old log files everyday.
> 
> How can I automate keeping the last 3 log files and delete the oldest one
> everyday?

Are you using logrotate(8)?

man logrotate





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to