Article ID: 114065, created on Jun 7, 2012, last review on Mar 24, 2015

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 11.5 for Windows


  1. Create a backup of the /etc/cron.daily/50plesk-daily file

    cp /etc/cron.daily/50plesk-daily{,.orig}
    chmod -x /etc/cron.daily/50plesk-daily.orig
  2. Replace the content of /etc/cron.daily/50plesk-daily with the below content.

    exec 1>>/root/50plesk-daily.log
    exec 2>&1
    set -x
    export PLESK_DEBUG_LEVEL=4
    # install_statistics
    /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php
    # install_mysqldump
    /usr/local/psa/bin/ >/dev/null 2>&1

    Debug logs will be collected in /root/50plesk-daily.log.

  3. Replace the /etc/cron.daily/50plesk-daily file with the original one once you are done monitoring:

        mv /etc/cron.daily/50plesk-daily{.orig,}
        chmod +x /etc/cron.daily/50plesk-daily


  • Terminate all hanging daily maintenance task processes
  • Turn off the daily maintenance task in the Task Scheduler to avoid interference from its side
  • Run the following commands on the server:

    "%plesk_dir%\admin\bin\php.exe" -dauto_prepend_file="" -ddisplay_errors=on "%plesk_dir%\admin\plib\DailyMaintainance\script.php" >> c:\debug_maintenance.log

    This will collect debug logs in c:\debug_maintenance.log.

Once you are done monitoring:

  • Close the command prompt window where you ran the above commands
  • Enable back the daily maintenance task in the Task Scheduler

Search Words

statistics not updating

daily maintenance logging

daily maintenance

Logrotation does not work

56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 01bc4c8cf5b7f01f815a7ada004154a2 aea4cd7bfd353ad7a1341a257ad4724a ed7be2b984f9c27de1d2dc349dc19c6d 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 46a8e394d6fa13134808921036a34da8 bd7fc88cf1b01f097749ae6f87272128

Email subscription for changes to this article
Save as PDF