Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: phranque
The crontab looks ok:
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=www.domain.com -update
(Have tried with and without www and at different time intervals)
Clicking the "update now" link works but I don't want to have to do this every couple of hours.
My crontab line:
5 0-2,6-23 * * * username nice /usr/local/awstats/tools/awstats_updateall.pl now > /dev/null 2>&1
Please note the nice statement in front of the call to the perl script. This causes the script to run at low priority which improves the performance of your site(s) during the statistics update. Processing the statistics may take a few seconds longer because of this, but users of your site will have faster response times when the scripts runs in the background during their site visit.
5****/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=www.domain.com -update
To test if it will update every 5 minutes ... still not doing it.
I cant do the update-all option since there are a bunch of other sites on the server that are not mine, I just have one account with about 25 domains (not all of them need stats).