Hi.

I've spent all morning trying to solve this myself with no luck.

I have a VPS with Centos and Plesk 10 from 1and1. I want to run a PHP script with Scheduled Task (Cron Job) from Plesk. Whenever the Scheduled Task is supposed to run, I get an email saying:


-: /usr/bin/php: No such file or directory
The command I am using is:

/usr/bin/php -q /var/www/vhosts/mydomain/httpdocs/myscript.php
If I run the above command from SSH, the script works fine.

Does anyone know why the above command doesn't work in Plesk with Scheduled Task? Why do I keep getting emails saying "No such file or directory"? :-(