I'm adding a new cronjob using the command command:
/bin/sh: /home/gbtusyll/public_html/run.php
But the command doesn't run and i get a mail stating:
/bin/sh: /home/gbtusyll/public_html/run.php: Permission denied
What is the problem?
I'm adding a new cronjob using the command command:
/bin/sh: /home/gbtusyll/public_html/run.php
But the command doesn't run and i get a mail stating:
/bin/sh: /home/gbtusyll/public_html/run.php: Permission denied
What is the problem?
try
chmod +x run.php
also ensure that proper owner is set (i.e. if you are logged as user, if the owner of the file is 'user' - you can do it for example by running ls -la
careful: this might be very dangerous on production evironment, however I believe this would solve your development problem. You should read more about permissions later on