We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

cron jobs problem | Forum

Topic location: Forum home » Support » General Questions
Impact-tech
Impact-tech Feb 21 '12
I have this problem and i dont know what to do:

/bin/sh: /home/velenje/public_html/ow_cron/run.php: Permission denied

Permission denied?

Michael I.
Michael I. Feb 22 '12
I believe this question should be forwarded to your hosting company. And the way your Cron command looks is not good. It should also have a path to the PHP included. Did you follow the Cron setup manual?
Impact-tech
Impact-tech Feb 22 '12
No i do not follow cron setup manual
Impact-tech
Impact-tech Feb 22 '12
now i have this error:

Status: 404 Not Found X-Powered-By: PHP/5.3.8 Content-type: text/html No input file specified.
when i change command to: /usr/bin/php /home/******/www/moje-velenje.net/ow_cron/run.php
Michael I.
Michael I. Mar 4 '12
Try setting the Cron up via SSH as it would much more convenient and you will see if there are any errors appears when it runs.
Rachel
Rachel Mar 7 '23
Invalid permissions can cause your cron jobs to fail in at least 3 ways: Jobs added as files in a /etc/cron. */ directory must be owned by root. Files owned by other users will be ignored and you may see a message similar to WRONG FILE OWNER in your syslog.


Regards,

Rachel Gomez