Suggestion for ALL domains to update nightly before DA rotates apache logs as follows:-
Edit /etc/cron.d/directadmin_cron
Replace:-
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
With:-
10 0 * * * 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
Hopefully this should update AwStats for ALL domains, just before DA rotates the Apache logs, as DA rotates these when needed as part of the "action=tally&value=all" task. Please see the following post for to confirm the tally info:-
http://www.directadmin.com/forum/showthread.php?threadid=2629
Regards,
Brett.
Edit /etc/cron.d/directadmin_cron
Replace:-
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
With:-
10 0 * * * 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
Hopefully this should update AwStats for ALL domains, just before DA rotates the Apache logs, as DA rotates these when needed as part of the "action=tally&value=all" task. Please see the following post for to confirm the tally info:-
http://www.directadmin.com/forum/showthread.php?threadid=2629
Regards,
Brett.