Hi,

I'm using cyclog to log all  qmail activity.

When I delete all the log files

rm /var/log/qmail/*

it's using, it doesn't seem to recreate them until I restart qmail.

I want to archive my log files daily:

        cat /var/log/qmail/* | gzip mylogs.gz

and then delete the old ones

        but my rm attempt above doens't seem to be the best way.

What's the best way to archive log files and remove the old ones?

Thanks

Peter.


--
gradwell dot com ltd - writing the bits of the web you don't see
online @ http://www.gradwell.com/ mailto:[EMAIL PROTECTED]

"To look back all the time is boring. Excitement lies in tomorrow"

Reply via email to