User History not updating

lbauer

Verified User
Joined
Dec 26, 2004
Messages
16
When I click on "user history" in the stats section of that users control panel page, I don't have any entries after 2005 12 (or Decembers stats). It would seem like January should be in there or am I looking at this wrong?
 
The usage numbers are going up. I don't think the monthly reset has been working. This is why I looked at the user history. Several customers had usage that was showing as much higher than normal.
 
Yes, there should be a cronjob like the tally that is run on the 1st of every month.

Code:
echo "action=reset&value=all" >> /usr/local/directadmin/data/task.queue
 
Yep, I found that entry in /etc/cron.d/directadmin_cron as listed below:

20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/tas
k.queue

Would issuing that command now mess things up? I wonder why it missed it on Feb 1?
 
Depends on what you mean by mess up. It will reset usage this month, then will do it again in a few days when it's really a new month. At least it should reset again in a week.
 
Thanks for the help. I did a search and found someone else having the same problem here. seems good alsoIt has some pretty good info. Just posting the link to help others who might have the same problem later.This seems good also.
 
Last edited:
Back
Top