Directadmin reset job

hpman28

Verified User
Joined
Aug 11, 2006
Messages
15
Hi.

For a few months, directadmin doesn't seen to reset bandwidths in each month.

Here is the cron list. Is something wrong here?

Code:
[root@server xxxxx]# cat /etc/cron.d/directadmin_cron
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
[root@server xxxxxxxxx]#

Runing the command by ssh works fine. Also, dataskq works fine and updates bandwidth and quotes
 
Hello,

Whe have fix this problem with reset the bandwidths 2 times each month.
One the standard reset and one we have add to /etc/crontab:
30 12 2 * * root echo "action=reset&value=all" >> /usr/local/directadmin/data/task.queue

We do not know wy da sometimes not reset the bandwidth
 
Back
Top