Question
How to check the Plesk Daily Maintenance Task execution time?
Answer
Debian/Ubuntu
The behavior is configured by /etc/crontab
file:
-
Connect to the server via SSH
-
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
:
-
Connect to the server via SSH
-
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.dailyIn 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
:
-
Connect to the server via SSH
-
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:
-
Connect to the server via RDP
-
Open Control Panel > Administrative Tools > Task Scheduler > Task Scheduler Library.
-
Find a task with a name
Plesk Scheduler Task #{UUID}
and a descriptionDaily script task
. - Press the Triggers tab for this task in order to view or adjust the time of execution