BrunoMiguel
New Pleskian
Hello, When I try to run a php script via crontab, created over Plesk, I always get email error message:
/usr/bin/php: No such file or directory
I've tried with just "php -q /path/to/script" but get the same error.
Is there any configuration I have to do?? I've saw this on documentation:
"If you trust your customers enough to allow execution of scripts in a non-chrooted environment, then you can select the required shell by issuing the following command in the console:
# /usr/local/psa/admin/bin/server_pref -u -crontab-secure-shell "/bin/sh"
But, I have no "server_pref" on that path...
I'm using Plesk 10.2 with CentOS.
Regards.
/usr/bin/php: No such file or directory
I've tried with just "php -q /path/to/script" but get the same error.
Is there any configuration I have to do?? I've saw this on documentation:
"If you trust your customers enough to allow execution of scripts in a non-chrooted environment, then you can select the required shell by issuing the following command in the console:
# /usr/local/psa/admin/bin/server_pref -u -crontab-secure-shell "/bin/sh"
But, I have no "server_pref" on that path...
I'm using Plesk 10.2 with CentOS.
Regards.