how to update the awstat in plesk

How to update the awstat on plesk manually/automatically ?
Ans:
You can easily update the awstat for the particular domain  by using following command.

/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com
Note: Replace the domain.com equal to original domain name.

If you want to update the awstat for all the domains which is hosted on the serve then use the following command. You can also set the monthly cronjob ( /etc/cron.monthly) on the server by using same command.

/usr/local/psa/admin/sbin/statistics

Leave a Comment