Hi.
For a few months, directadmin doesn't seen to reset bandwidths in each month.
Here is the cron list. Is something wrong here?
Runing the command by ssh works fine. Also, dataskq works fine and updates bandwidth and quotes
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