soumya tr wrote:

Okay. I am planning to use the cron :

30 * * * * root /usr/sbin/cbpadmin --cleanup --config=/etc/policyd/cluebringer.conf >> /tmp/cluebringer.log 2>&1

I guess this cron will clean the old records from db every XX:30 hours [XX=0 to 23]. And the main tables that will be affected is quota_tracking and session_tracking. Please correct me if I am wrong.

Yes, that's what it will do. Seems a bit aggressive to me - I only run it once a week.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to