How to Update Directadmin Awstats for a Single Domain
Sometimes you need to update stats for a single domain to deal with most current information. There is a simple command though it is not well documented. The command is much easier than the one for webalizer. Here it is:
/usr/local/directadmin/scripts/awstats_process.sh USER DOMAIN
Of course, you need to insert your username and your domain.If you need to update your stats more often, you can add this command to your crontab.
perl awstats.pl -config=internationalequipments.com -update
perl awstats.pl -config=mysite -update
internationalequipments.com
just use domain name not full .conf file name
Comments
Post a Comment