Our kannel logs are getting bigger everyday... I hope to rotate them on an
hourly basis.

Can I just create a simple shell script to tar.gz each log then send a
"killall -HUP bearerbox smsbox wapbox || true > /dev/null 2> /dev/null"?

Sample: "smsbox_20041018_1500.tar.gz"

I plan to use cron for the hourly log rotation.
Is this safe that no log transactions will be lost?

Thanks in advance.

Fritz Mesedilla
---
"I always try to go the extra mile at work, but my boss always finds me and
brings me back."



Reply via email to