Updated
Apr 26th, 2014
First Posted
Apr 26th, 2014

billingd

Description

billingd is a utility that gathers usage data for all members in the customers table that have an associated rule, and stores the info in the database. billingd is launched by crontab periodically; we recommend that it be run every 15 minutes.

Syntax

billingd stats billingd reset billingd cleardaily [customer] billingd clear monthly customer
stats will gather do a stats loop for all defined customers with rules. Reset can be run at boot; it will reset automatically but data will be lost until the first time it is run. You should put
/usr/bwmgr/utils/billingd reset
in your rc.bwmgr startup file. cleardaily with no customer specified will clear the daily profile settings in the case that something gets mucked up. Daily settings should be reset at midnight every day. You can also call cleardaily with a customer to just clear that one setting. clearmonthly must be called per customer, as customers may have different billing cycles and are unlikely to all have the same issues.
Add Comment

Next: ipmireset