• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question When is Plesk calculatrice statistics?

nbonniot

New Pleskian
Hello,
I installed Plesk Onyx Web, provider told me that because of VPS VM layer, it's not possible to use quota.

I updated kernel (which turn to be outdated) and activated quota on VPS.

Now, if I trigger manually /usr/local/psa/admin/sbin/statistics --calculate-all, stats on domains and sites seemed OK.

But AFAIK, it never update stats by itself. I always have to trigger it manually and furthermore all quota limits I setup (and notifications linked) are not triggered.

What is the period for stats update, and VPS is it the reason for stats malfunction?

Thanks for you replies!
 
Last edited:
Statistics are done as part of the nightly maintenance. This is controlled by a crontab control file "/etc/cron.daily/50plesk-daily". The file should include a line
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1
Is that present on your system?
 
Similar problem here. On a physical dedicate server statistics (disk quota, traffic...) of all domains are working. On a vps same Onyx 17.8 all statistics are 0 and not updating nightly. Running /usr/local/psa/admin/sbin/statistics --calculate-all i got all stats. Peter where i've to look for the 50plesk-daily cron? In the scheduled task there are 16 scripts on both phisical and vps servers but not that one.
 
where i've to look for the 50plesk-daily cron?
To see the time of execution cron.daily jobs just open file /etc/cron.d/dailyjobs:

# cat /etc/cron.d/dailyjobs
# Run the daily, weekly, and monthly jobs if cronie-anacron is not installed
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# run-parts
58 4 * * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.daily
38 3 * * 0 root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.weekly
0 3 29 * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.monthly
 
Back
Top