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


Options -Indexes +ExecCGI
AddHandler cgi-script .pl
DirectoryIndex awstats.pl
Error: AWStats database directory defined in config file by 'DirData' parameter (.data) does not exist or is not writable.
remove from .data folder 
awstats.minivacpumps.com.conf

and rebuild

Comments

Popular posts from this blog

how to install internet download manger in linux

premium url shortener

ImportError: DLL load failed while importing onnx_cpp2py_export