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

Trouble in/with Cron | Forum

Topic location: Forum home » Support » General Questions
Maxwell
Maxwell May 3 '11
Cron running every minute

Cron:
/usr/bin/php /home/desiredl/public_html/ow_system_plugins/base/bol/cron_job.php >>/home/desiredl/public_html/log.txt /null 2>&1

/usr/bin/php /home/desiredl/public_html/ow_plugins/notifications/bol/cron_job.php >>/home/desiredl/public_html/log.txt /null 2>&1


This is the malarky I get from the log.txt file in my /public_html folder.



Fatal error: Class 'OW_Entity' not found in /home/desiredl/public_html/ow_system_plugins/base/bol/cron_job.php on line 32

Content-type: text/html



Fatal error: Class 'OW_Entity' not found in /home/desiredl/public_html/ow_plugins/notifications/bol/cron_job.php on line 39

Content-type: text/html



Fatal error: Class 'OW_Entity' not found in /home/desiredl/public_html/ow_system_plugins/base/bol/cron_job.php on line 32

What do these errors mean? what should I do? what do?
The Forum post is edited by Maxwell May 4 '11
Maxwell
Maxwell May 3 '11
line 32 cron_job.php

class BOL_CronJob extends OW_Entity

line 39 cron_job.php

class NOTIFICATIONS_BOL_CronJob extends OW_Entity

by the way this is two cron jobs idk if i need 2 or just one
The Forum post is edited by Maxwell May 3 '11
Maxwell
Maxwell May 4 '11
Now it says this so I think I have it

This is my cron every 1min:
/usr/bin/php /home/yourusername/public_html/ow_cron/run.php >>/home/yourusername/public_html/log.txt /null 2>&1

This craps out into a log.txt in the public_html every 1min

Set-Cookie: base_language_id=1; expires=Fri, 03-Jun-2011 05:50:01 GMT; path=/
Content-type: text/html

You can even check out my site GotaBowl.com (facebook connect may not work but in due time) and check out the members tab.
Den Team
Den May 5 '11
It seems that your cron is ok now.