Plesk for Linux kb: technical
- Plesk for Linux
On a Plesk for Linux server, scheduled tasks do not start automatically, including scheduled backup, statistics tasks or SSL certificate renewal.
If a scheduled task is started manually from Plesk, it works correctly.
cron service is stopped on the server:
# systemctl status cron.service | grep "Active:"
Active: inactive (dead) since Thu 2019-10-17 13:17:27 +07; 1s ago
RnD is interested in finding why cron isn't running on servers like this. Have a look during the investigation. If found something interesting ask TL to pass it to SEgorov
Connect to the server using SSH.
Enable and start cron:
# systemctl enable crond
# systemctl start crond
On Debian and Ubuntu:
# systemctl enable cron
# systemctl start cron
The status check command is incorrect. It should be:
systemctl status crond.service | grep "Active:"
On Ubuntu/Debian it is "cron", while on RHEL it is "crond", so the "systemctl" command is for Ubuntu/Debian, and the "service" one is for RHEL.
Cron was already running
Please sign in to leave a comment.