DA + FreeBSD Usage reset?

jschurawlow

Verified User
Joined
Jan 22, 2005
Messages
76
So far to date I have noticed no usage reset. On FreeBSD how does DA handle the bandwidth reset each month? Is it auto cronned and if not where will I need to look and/or what command needs to be run to schedule it to run a reset of usage?

-Justin
 

jmstacey

Verified User
Joined
Feb 12, 2004
Messages
4,107
Location
Colorado
It should be in the crontab (/etc/crontab)
But it should reset every month.

For example:
Code:
40 1 1 * * root echo "action=reset&value=all" >> /usr/local/directadmin/data/task.queue
 

jschurawlow

Verified User
Joined
Jan 22, 2005
Messages
76
ah thanks, and yes it did in fact auto reset this month for me. What is odd is if i do a crontab -u root -e it will not show the directadmin cronjobs in there. I did find the script that installs them and since it works auto I presume it did install correctly for the crontab entries.

-Justin
 
Top