Forums | Mahara Community

Support /
RRS not updating, cronjob fails


anonymous profile picture
Account deleted
Posts: 8

27 October 2009, 19:38

Hi all,

I've just realised that my RRS-Feed doesn't update. Taking a look at the logfiles shows that  the cronjob didn't get run because the nextrun time was too old.

What does that mean? How can I fix it? (Beware of the newbie)

Here is the mentioned part of the logfile:

[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] [WAR] 8e (lib/cron.php:120) cronjob "externalfeed.refresh_feeds" didn't get run because the nextrun time was too old
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] Call stack (most recent first):
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_message("cronjob "externalfeed.refresh_feeds" didn't get ru...", 8, true, true) at /var/www/lib/errors.php:90
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_warn("cronjob "externalfeed.refresh_feeds" didn't get ru...") at /var/www/lib/cron.php:120
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] [WAR] 8e (lib/cron.php:120) cronjob "forum.interaction_forum_new_post" didn't get run because the nextrun time was too old
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] Call stack (most recent first):
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_message("cronjob "forum.interaction_forum_new_post" didn't ...", 8, true, true) at /var/www/lib/errors.php:90
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_warn("cronjob "forum.interaction_forum_new_post" didn't ...") at /var/www/lib/cron.php:120
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] [WAR] 8e (lib/cron.php:161) core cronjob "rebuild_artefact_parent_cache_dirty" didn't get run because the nextrun time was too old
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] Call stack (most recent first):
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_message("core cronjob "rebuild_artefact_parent_cache_dirty"...", 8, true, true) at /var/www/lib/errors.php:90
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_warn("core cronjob "rebuild_artefact_parent_cache_dirty"...") at /var/www/lib/cron.php:161
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] [WAR] 8e (lib/cron.php:161) core cronjob "activity_process_queue" didn't get run because the nextrun time was too old
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] Call stack (most recent first):
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_message("core cronjob "activity_process_queue" didn't get r...", 8, true, true) at /var/www/lib/errors.php:90
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_warn("core cronjob "activity_process_queue" didn't get r...") at /var/www/lib/cron.php:161
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] [WAR] 8e (lib/cron.php:161) core cronjob "import_process_queue" didn't get run because the nextrun time was too old
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62] Call stack (most recent first):
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_message("core cronjob "import_process_queue" didn't get run...", 8, true, true) at /var/www/lib/errors.php:90
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]   * log_warn("core cronjob "import_process_queue" didn't get run...") at /var/www/lib/cron.php:161
[Wed Oct 28 01:21:29 2009] [error] [client 83.171.145.62]
[Wed Oct 28 01:21:32 2009] [error] [client 83.171.145.62] [DBG] ff (lib/cron.php:64) ---------- cron running Wed, 28 Oct 2009 01:21:32 +0100 ----------

Thanks

anonymous profile picture
Account deleted
Posts: 1643

27 October 2009, 20:44

Hi,

How often have you scheduled the cron job to run? If you are making it run every minute, then I would ignore that error, as you should never see it again.

That message appears if it's been more than five minutes since cron was last ran. 

anonymous profile picture
Account deleted
Posts: 8

29 October 2009, 12:01

Hi Nigel,

now it runs every minute: * * * * * php /var/www/lib/cron.php >>/var/www/cron_new.log 2>&1

before, it simply did not run because the php command did not work (php: command not found). I've fixed this by installing php5-cli ... nc please ;)

edit: everything is working fine now! just took a while to take effect :)
3 results