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


John
-- 
use Perl;
program
fulfillment

-- 
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