AWStats updating schedule

B

bgoedhart

Guest
I want to run AWStats more often than once a day but I can't find where this setting is located. How can I make AWStats run more often? Thanks in advance.
 
On our CentOS servers /etc/cron.daily/50plesk-daily runs /usr/local/psa/admin/sbin/statistics (amongst other commands). You could create your own cronjob that runs this command.
 
Where do you see exactly when 50plesk-daily starts?

On our system it seems that AWStats generation is taking hours and I need to see when this actual cron kicks off.
 
It is run as part of the daily cronjobs. The hourly, daily, weekly and monthly jobs are started by run-parts from /etc/crontab. However, the time listed in /etc/crontab only indicates when the first daily cronjob is started. The start time of an individual daily cronjob depends on the running time of the other daily cronjobs, as they are run one after another.

If you really need to know an exact start and stop time of this particular cronjob, you could modify the cronjob to write a timestamp to some file or send an e-mail for instance, but Plesk might overwrite these changes upon Plesk upgrades.
 
Back
Top