Create a cron job in /etc/cron.d/tealeaf
to wake up and clear the stats.
Examples:
* * * * * root /usr/local/ctccap/bin/tealeaf cron > /dev/null 2>&1
# the command 'tealeaf cron' is run every minute (already exists in
# /etc/cron.d/tealeaf
30 3 * * * root /usr/local/ctccap/bin/tealeaf clearstats > /dev/null 2>&1
# 'tealeaf clearstats' is run at 3:30 a.m. every day.
15 4 * * 2 root /usr/local/ctccap/bin/tealeaf clearstats > /dev/null 2>&1
# 'tealeaf clearstats' is run at 4:15 a.m. on Tuesdays.
01 0 1 * * root /usr/local/ctccap/bin/tealeaf clearstats > /dev/null 2>&1
# 'tealeaf clearstats' is run at 12:01 a.m. on the first day of every month.