Plesk 10 doesn't count disk usage and traffic, at all

Can we call /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=mydomain.tld via Plesk.API?

I know that this command can take long execution time, but we must provide for our tech support ability to recalc stat for one domain via our billing system.
 
Can we call /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=mydomain.tld via Plesk.API?

I know that this command can take long execution time, but we must provide for our tech support ability to recalc stat for one domain via our billing system.

Try to change webstat backend: /usr/local/psa/bin/domain -u $DOMAIN_NAME -webstat webalizer (or 'none').
By default awstats is used on domain creation, but it too slowly (perl-based)
 
Back
Top