Articles in this section

How to recalculate statistics for all domains in Plesk?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to recalculate statistics for all domains via Plesk?

Answer

For Plesk on Linux
  1. Log into Plesk

  2. Go to Tools & Settings > Scheduled Tasks.

  3. Click Add Task.

  4. Insert the content below into the Command field:

    /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteStatistics

  5. Click Run Now.

    Screenshot_2019-01-14_Schedule_a_Task_-_Plesk_Onyx_17_8_11.png

For Plesk on Windows Server
  1. Log into Plesk

  2. Go to Tools & Settings > Scheduled Tasks.

  3. Find Daily script task with the command:

    C:\Program Files (x86)\Plesk\admin\engine\php.exe -q "C:\Program Files (x86)\Plesk\admin\plib\DailyMaintainance\script.php"

  4. Click Run Now.

Via Command-line
  1. Connect to the server via SSH or RDP

  2. Execute the following command:

    # plesk daily ExecuteStatistics

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.