- After a dist-upgrade from Ubuntu 14 to Ubuntu 16 with Plesk, via instructions from the article How to perform dist-upgrade procedure, Plesk cron jobs which use PHP provided by OS vendor (v5.5.9) stop working.
A manual launch of the tasks, for example, in Tools & Settings > Scheduled Tasks > Run Now (green arrow against a task) fails with the following error:
CONFIG_TEXT: Task "/root/script.php" completed with error in 0 seconds, output:
/bin/sh: /usr/bin/php5: No such file or directory
Plesk bug with ID #PPPM-7371.
To work around the issue: in Tools & Settings > Scheduled Tasks, open each task and click OK to reapply the changes.