View Single Post
  #2 (permalink)  
Old 06-29-2009, 10:42 PM
anoopkumar's Avatar
anoopkumar anoopkumar is offline
Registered User
 
Join Date: Feb 2004
Location: India
Posts: 6
anoopkumar
/bin/sh: /home/username/public_html/sender.php: Permission denied

That does not appear to be an issue with the script. Looks like you have setup the php script /home/username/public_html/sender.php wrongly in the cronjob.

It should be like

php /home/username/public_html/sender.php

If you just give /home/username/public_html/sender.php, system will try to execut it as a shell script, which caused the above error.
Reply With Quote