On Wed, Sep 19, 2012 at 1:52 PM, Robert Anderson <[email protected]> wrote:


> You can add a cron job manually. Currently policyd does not automatically
> add cron jobs.
>
>

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.

-- 
Regards,
Soumya

"I like the dreams of the future better than the history of the past."
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to