Applicable to:
- Plesk for Linux
Symptoms
-
A custom script is set up as a scheduled task at Tools & Settings > Scheduled Tasks.
-
The script contains one or both of following commands:
CONFIG_TEXT: /etc/init.d/example start
/etc/init.d/example stop -
The task is shown as running in Plesk even though it has completed.
Cause
Such behavior is confirmed as a Plesk bug with ID PPPM-8527.
Resolution
As a workaround, use systemctl commands in the script:
CONFIG_TEXT: systemctl start example.service
systemctl stop example.service
instead of
CONFIG_TEXT: /etc/init.d/example start
/etc/init.d/example stop
Comments
0 comments
Please sign in to leave a comment.