- Plesk for Linux
- Custom PHP script scheduled in Plesk > Tools & Settings > Scheduled Tasks failed to complete:
PLESK_ERROR: Activity of "httpdocs/example.php" completed in 0 seconds see details
sh: example: command not found <<<<<<<
exampleexecutable is located in:
# which example
/var/log/www/vhosts/example/com/httpdocs/example.phpthere is the following line:
# grep "usr/local/bin" /var/log/www/vhosts/example/com/httpdocs/example.php
/usr/local/bin/ production import"
Incorrect code of PHP script.
Review code of the script with a help of website developer so it includes the whole path to executable.