Plesk

How to check the Plesk Daily Maintenance Task execution time?

Question

How to check the Plesk Daily Maintenance Task execution time?

Answer

Debian/Ubuntu

The behavior is configured by /etc/crontab file:

  1. Connect to the server via SSH

  2. List the task execution time:

    # grep "cron.daily" /etc/crontab
    9 2 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

    In this case, Plesk Maintenance task is executed on 02:09 AM every day.

CentOS/RedHat

Daily Task script is run by /etc/cron.daily/50plesk-daily script. To see the time of execution cron.daily jobs, check /etc/cron.d/dailyjobs:

  1. Connect to the server via SSH

  2. List the task execution time:

    Note: If /etc/cron.d/dailyjobs is missing, check /etc/anacrontab (See CloudLinux section below).

    # grep -ri "/etc/cron.daily" /etc/cron.d/dailyjobs
    9 2 * * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.daily

    In this case, Plesk Maintenance task is executed on 02:09 AM every day.

CloudLinux

Execution time is configured in /etc/anacrontab by the parameter START_HOURS_RANGE :

  1. Connect to the server via SSH

  2. List the task execution time:

    # grep -E "START_HOURS_RANGE|cron.daily" /etc/anacrontab
    START_HOURS_RANGE=3-22
    1 5 cron.daily nice run-parts /etc/cron.daily

Note: the second column. It means that with a parameter START_HOURS_RANGE= 3-22, cron.daily scripts will be run on 03:05 AM.

Windows

Daily Maintenance Task is configured in Windows Task Scheduler:

  1. Connect to the server via RDP

  2. Open Control Panel > Administrative Tools > Task Scheduler > Task Scheduler Library.

  3. Find a task with a name Plesk Scheduler Task #{UUID} and a description Daily script task.

  4. Press the Triggers tab for this task in order to view or adjust the time of execution