On Wed, 2006-08-09 at 16:34 -0600, 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? >
If you're using a UNIX-like OS, why not just use logrotate? -- Joshua Colson <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>