I have a cronjob set up to run every 5 minutes and all it does is run a PHP script and updates a MySQL database. I am getting this error.
/bin/sh: /usr/bin/curl: Permission denied
The directory permissions are drwxr-xr-x
File permissions are set to -rwxr-xr-x
I have tried these in for the cronjob
*/5 * * * * curl /public_html/directory/cron_fivemins.php
*/5 * * * * curl http://www.url.com/cron_fivemins.php
If I run the script manually it works fine, so I am assuming it is a permissions issue.
Any help is appeciated.