J
JDub@
Guest
Hi,
I'm having some trouble running a cron script as a user within Plesk 7.5.4. The target file is being found fine, but I'm unable to access PHP in order to run it.
Upon running the following command: -
/usr/local/psa/admin/bin/php /var/www/vhosts/domain/httpdocs/tasks_minute.php5
I get the following error in the email sent to me: -
/bin/sh: /usr/local/psa/admin/bin/php: Permission denied
Server cron runs fine, but then they run as root!
Why is this? Am I pointing to the wrong PHP, or should I run this as a server cron? I don't really want to, as it only applies to a specific domain.
Any help on this would be MUCH appreciated!!
Regards
Jules.
I'm having some trouble running a cron script as a user within Plesk 7.5.4. The target file is being found fine, but I'm unable to access PHP in order to run it.
Upon running the following command: -
/usr/local/psa/admin/bin/php /var/www/vhosts/domain/httpdocs/tasks_minute.php5
I get the following error in the email sent to me: -
/bin/sh: /usr/local/psa/admin/bin/php: Permission denied
Server cron runs fine, but then they run as root!
Why is this? Am I pointing to the wrong PHP, or should I run this as a server cron? I don't really want to, as it only applies to a specific domain.
Any help on this would be MUCH appreciated!!
Regards
Jules.