Webalizer not updating

ViAdCk

Verified User
Joined
Feb 14, 2005
Messages
254
Hello:

Since I changed the time of the task.queue tally webalizer doesn't update anymore. Awstats is on the same server and updates without any issues.

The directadmin_cron contains the following:

* * * * * 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 4 * * * root /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl &&
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

Any thoughts?

Thanks :)
 
The cronjob to update the system quota is still commented out, but that wouldn't hinder webalizer stats.
Try resetting the cronjob to what DirectAdmin installs by default.
You might also try having the results of the cronjob sent to your email address, maybe you'll get some useful information as to why it's failing.
 
It's very strange because on other servers where awstats doesn't appear in the cron, the webalizer stats are correctly updating with the time schedule changed.

Maybe I could just run the awstats part in a completely different cronjob?
 
Back
Top