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

Users always shown as online | Forum

Topic location: Forum home » Support » General Questions
Randy
Randy Oct 1 '11
I have the cron job set up....does this look right as far as the path? (note, I am certain after html_public, the path is correct.  domain is bringit2u.com

/usr/local/bin/php home/bringit2u/public_html/social/ow_cron/run.php
FaceTester Leader
FaceTester Oct 2 '11
- which cronjob time you have for this running ?
- are you sure with " /usr/local/bin/php " without any parameter like " -f " ?

Domain bringit2u.com have an direct Redirection to bringit2u.com/forum, no any oxwall page to see

greets
FaceT

Randy
Randy Oct 2 '11
Sorry...http://bringit2u.com/social

I have it running every minute..... not sure about the -f ....I admit, I know very little about cron jobs, etc
Joe
Joe Oct 2 '11
Looks like you're missing a "/" before home. Try this:

/usr/local/bin/php /home/bringit2u/public_html/social/ow_cron/run.php

Randy
Randy Oct 2 '11
I changed it a few times...the latest is this:

/usr/local/bin/php home/bringitu/public_html/social/ow_cron/run.php
Randy
Randy Oct 2 '11
I removed the 2, because the master account setup by the hosting company forgot the 2
Joe
Joe Oct 2 '11
did you try the latest string with a / before home? So it looks like this:
php /home/
It's still missing the / before home
Randy
Randy Oct 2 '11
That did it!  You are a genius..thank you!
steven
steven Oct 3 '11
that did not work for me any other ideas?
FaceTester Leader
FaceTester Oct 3 '11
hi steven, please post a copy/paste of your Crontab init.

additional question:
- how make you the crontab init ?
over console direct with " crontab -e " or anything else ?

greets
FaceT

steven
steven Oct 3 '11
well i host with a2 but heres the corn tab cd /home/kingzcla/public_html/ow_core; /usr/local/cpanel/3rdparty/bin/php -q cron.php is that what you want im not up on corn tabs
Joe
Joe Oct 3 '11
That string looks a little weird... I'm guessing it was set up by Softaculous install, which is a faulty install.
Try this string (based on your current string):

/usr/local/cpanel/3rdparty/bin/php /home/kingzcla/public_html/ow_cron/run.php
or this one:
/usr/local/bin/php /home/kingzcla/public_html/ow_cron/run.php


steven
steven Oct 3 '11
how do i change it  
Joe
Joe Oct 3 '11
log in to your cpanel: yourwebsite.com/cpanel
under advanced select "cron jobs"
select "edit"
delete the current command, copy and paste one of the 2 above strings
click "edit line" to save.
See the attached screen shots.
I'm guessing the second string above is probably correct, I've never seen one like the first one. I just based that one on your current string.
Hope this helps!
Attachments:
  01.jpg (315.82Kb)
steven
steven Oct 3 '11
no it did not fix it not sure what else to do  
steven
steven Oct 3 '11
it say 8 under mins then * under the rest is that right  
steven
steven Oct 3 '11
i change it to all stars  
steven
steven Oct 3 '11
do i put it in like this /usr/local/cpanel/3rdparty/bin/php /home/kingzcla/public_html/ow_cron/run.php
or this cd /home/kingzcla/public_html/ow_core; /usr/local/cpanel/3rdparty/bin/php /home/kingzcla/public_html/ow_cron/run.php
 
steven
steven Oct 3 '11
I GOT IT THANK YOU SOOOOOO MUCH UR A LIFE SAVER THANK YOU THANK YOU LOL
Pages: 1 2 »