Schedule problems
« on: June 04, 2013, 10:54:36 AM »
When task start I recive this error:
/usr/bin/php: No such file or directory

I'm using Plesk 10.4
folder permission 755
I try
/usr/bin/php -q /var/www/vhosts/mydomain.it/httpdocs/generator/runcrawl.php
or
/usr/bin/php  /var/www/vhosts/mydomain.it/httpdocs/generator/runcrawl.php

Thanks for collaborations
Re: Schedule problems
« Reply #1 on: June 05, 2013, 12:27:19 PM »
Hello,

please try to use /usr/local/bin/php instead of /usr/bin/php
Re: Schedule problems
« Reply #2 on: June 09, 2013, 10:27:07 PM »
I have the same result.

Any other suggest?
Thanks for collaborations
Fabio
Re: Schedule problems
« Reply #3 on: June 11, 2013, 10:24:10 PM »
Please try without path, like:
php  /var/www/vhosts/mydomain.it/httpdocs/generator/runcrawl.php

You can ask your hosting support regarding exact location of php on your server.