Symptoms
-
Scheduled Tasks list is empty in Plesk at Tools & Settings > Scheduled Tasks (Cron jobs).
-
The
root
user is not available in the System user drop-down list when creating a new scheduled task.
Cause
A security policy to forbid the creation of scheduled tasks and/or event handlers running on behalf of the root
user is enabled on the server.
This policy hides all scheduled tasks executed by root
and psaadm
users. Though the tasks are not visible, but they are still executed.
Resolution
To disable this security policy, apply the following steps:
-
Connect to the Plesk server via SSH.
-
Remove the file
/usr/local/psa/var/root.crontab.lock
:-
on CentOS/RHEL-based distributions:
# rm -f /usr/local/psa/var/root.crontab.lock
-
on Debian/Ubuntu-based distributions:
# rm -f /opt/psa/var/root.crontab.lock
-