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 Stopped working | Forum

Donamix
Donamix Jan 26 '13
It was working fine without any issues, i didn't do or change anything!

Now it's stuck for all members on my site showing them as online!


wget http://www.social.donamix.com/ow_cron/run.php


and


http://www.social.donamix.com/ow_cron/run.php


These are my Cron Job Commands!

Both are set to every 1 minute

The Forum post is edited by Donamix Jan 26 '13
Donamix
Donamix Jan 27 '13
I wonder what is the use of the Forum, if no ones replies or help..
Andre Pan
Andre Pan Jan 27 '13
Quote from Donamix I wonder what is the use of the Forum, if no ones replies or help..

I think at least you should post your error log, otherwise nobody know more than you on this issue.
Donamix
Donamix Jan 27 '13
I already did, read my first post again.

I said that all members on my site are showing online always if they don't Sign out.

MarkieMark67
MarkieMark67 Jan 27 '13
Quote from Donamix I already did, read my first post again.

I said that all members on my site are showing online always if they don't Sign out.

Now Donamix it would help us to know who you get your hosting from, and if it's a windows or  Linux server. Here is an example of a CRON on a Linux that works. Both lines are one command


EXAMPLE: 
/ramdisk/bin/php5 -c /home8/server_name/Site_Name/ow_cron/run.php /home8/Server_Name/public_html/Site_Name/ow_cron/run.php

Donamix
Donamix Jan 27 '13
My Hosting is from Godaddy,

I'll get more details soon,

and try this commands..

Richard Carr
Richard Carr Jan 27 '13
Ok folks I have the same problem, cron has just stopped working. Members are staying online and mass mailing is not working. I am with justhost who allow cron run of only 15 mins. Justhost have said they can see no reason why it shouldn't be working. I have tried everything i can think of and need your help.
Attachments:
  EMAIL RECEVED FROM CRON.docx (14.15Kb)
  Recent Error Logs.docx (18.1Kb)
  run.php.docx (15.72Kb)
MarkieMark67
MarkieMark67 Jan 27 '13
Quote from Donamix My Hosting is from Godaddy,

I'll get more details soon,

and try this commands..


Make sure you make the correct changes for your server. home8 is my server/server_Nmae is my server account name and so on.
OW Developer
OW Developer Jan 27 '13
pm me if you need help i will fix it for you
Brien
Brien Jan 27 '13
Richard, I was on Justhost help files and they suggest to use this example for php:

/ramdisk/bin/php5 -c /home/USERNAME/PathTo/php.ini /home/USERNAME/public_html/PathToFile
Brien
Brien Jan 27 '13
Only thing I cant find is the path to the ini file ...
The Forum post is edited by Brien Jan 27 '13
MarkieMark67
MarkieMark67 Jan 27 '13
/ow_cron/run.php
Brien
Brien Jan 27 '13
thats not the ini file though .....

Brien
Brien Jan 27 '13
that would go at the end of the command ....
Purusothaman Ramanujam
Brien,

Can you explain what you mean by saying ini file?
Brien
Brien Jan 27 '13
just host recommends the following cron job command:

/ramdisk/bin/php5 -c /home/USERNAME/PathTo/php.ini /home/USERNAME/public_html/PathToFile


so my cron would look like this:

/ramdisk/bin/php5 -c /home/my servername/PathTo/php.ini /home/myusername/public_html/Path to the cron on my server

only I cant find the path to the php.ini file on my server ....
Brien
Brien Jan 27 '13
I wonder if this is the file they refer to: /ow_includes/init.php
Brien
Brien Jan 27 '13
it is and I can confirm that the cron runs and works using that line :-)

Brien
Brien Jan 27 '13
/ramdisk/bin/php5 -c /home/realsens/public_html/social/ow_includes/init.php/home/realsens/public_html/social/ow_cron/run.php

would be the cron I have working correctly
Brien
Brien Jan 27 '13
my installation is in a subdirectory called social ....
Pages: 1 2 »