← Back to team overview

mahara-contributors team mailing list archive

[Bug 1092528] Re: Cron is not running

 

At the moment having to update activity_process_queue manually.

Have tried several combinations of schedule for which minute this runs ( default */5    *     5,10,15,etc) but it only runs once and then doesn't update the next runtime for activity_process_queue. All other processes run correctly.
Setting delay on watchlist to 0 (default 1) has them triggering instantly even after the runtime date has passed - but I haven't checked this 24 hours later yet to see if they still run.
Is there a line in the Mahara code to trigger runtime updates specifically for activity_process_queue ? Wondering if it's been corrupted - and if so what it should read.
Thanks, Gordon.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1092528

Title:
  Cron is not running

Status in Mahara ePortfolio:
  New

Bug description:
  Mahara version: 1.6.2

  There are a few other bugs concerning the cron not running correctly
  but none that fix or say anything about the below.

  I have found that the part that is not working is the
  "activity_process_queue" cron. It doesn't update the 'next run' date
  in the 'cron' database table. If I manually change the date this works
  and for 24 hours it says 'cron is running' on the site, however after
  that the error is back as this only runs that once then skips it as it
  sees it as a 'long running' part of the cron but really the date is
  just behind and won't change and the cron will never actually be able
  to run it again without a manual intervention...

  I can't see where in the coding it is going wrong exactly but thought
  I would report what I have found.

  Watchlist notifications don't get sent out either -I'm not sure
  whether that is related or separate. Hopefully someone can shed some
  light.

  The cron does work and send out other emails like 'forgotten password'
  etc so this is running and set up correctly.

  Thanks,

  Andrea

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1092528/+subscriptions


References