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 Error | Forum

carlos
carlos Sep 3 '10
I can not run cron jobs, besides not updating my RSS.
And no messages arrive invitiacion of friendship or any other

/home/themrx/public_html/web/ow_cron/run.php: line 1: ?php: No such file or directory
/home/themrx/public_html/web/ow_cron/run.php: line 3: /aquota.group: Permission denied
/home/themrx/public_html/web/ow_cron/run.php: line 4: access-logs: command not found
/home/themrx/public_html/web/ow_cron/run.php: line 5: syntax error near unexpected token `('
/home/themrx/public_html/web/ow_cron/run.php: line 5: ` * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”);'
Michael Leader
Michael Sep 3 '10
http://www.oxwall.org/forum/topic/21

http://www.oxwall.org/forum/topic/59

Try browsing through and see if any others had the same issue...
Juan
Juan Nov 9 '10
Hi, I had the same problem and after my host support tried a few times they came up with this and it worked: php -q /home/user/public_html/yourdomain/ow_cron/run.php ... Hope this works for you.
Pedro
Pedro Jan 1 '11
the correct path is /usr/bin/php /home/user/public_html/yourdomain/ow_cron/run.php that will work. with no -q or anything else. also make sure you enter the correct info for the minutes job to run. minutes 0-59 Hours 0-23 day of the months 1-31 Month 1-12 and days of the week 0-7. enjoy the info
Juan
Juan Jan 2 '11
Pedro, that path does not work on all servers the same way. I tried your path and still got "no such directory or file found" error in my email.
Pedro
Pedro Jan 3 '11
I know that path that I posted don't work on all servers. You guys needs to find where your hosting provider has install the php and your website path is diferent in all provider. What I was trying to say is that after find where his php is. just use the path with php not -q or anyother command same from your website path. Server provider are like human. Is not two alike we all set our server diferent. lol I was trying to give an adea on how it works. But is call the same in all server unless php change his name lol. like on my server php is under /usr/bin/ and my website are under web so the the path should be /usr/bin/php /var/www/clients/client1/web/ow_cron/run.php you got the adea now?
The Forum post is edited by Pedro Jan 3 '11
Juan
Juan Jan 3 '11
Almost got it but not quite.. Lol!
The Forum post is edited by Juan Jan 3 '11
Pedro
Pedro Jan 3 '11
here is an a sample of my webhosting demo panel on ISPConfig here are the link http://www.demooxwall.co.cc:8080 login: demo password: demo now you can go under sites and on the lelf side you will see cron job click on it them you will see the line for the demo click on that and you will see the setting for my demo cron job.

PS: that demo panel is full function not on safemode so don't delete anything because I will not put it back up and everybody else that could learn from this won't. I left it like that so someone can get the whole feel of the panel and website is live like yours website are with unlimited everything
The Forum post is edited by Pedro Jan 3 '11
Den Team
Den Nov 21 '11
Topic was moved from Bug reports and troubleshooting.
bob daubney
bob daubney Dec 12 '11
I am having with this cron job thing as well the website is http://www.candlenetwork.info The cron job is
/usr/local/bin/php /home/candlenetwork.info/public_html/ow_cron/run.php
and it is set to run every min. But I get this in the email
"Could not open input file: /home/candlenetwork.info/public_html/ow_cron/run.php"

sso what am i going wrong I would realy like to get this site working.
Den Team
Den Dec 28 '11
Such error means that PHP can't open file for execution. Check that you have pointed correct path to cron file /home/candlenetwork.info/public_html/ow_cron/run.php