mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #15201
[Bug 987604] Re: Display which cron jobs aren't running
The "cron is not running" message comes from this:
$data['cronrunning'] = !record_exists_select('cron', 'nextrun IS NULL OR
nextrun < CURRENT_DATE');
So, the cheap and easy way of resolving this issue would be to check
which crons are returned by that query, and list them in the
cronnotrunning message.
In the long run, we should probably file a feature request for a big
fancy admin report that shows you all the cron jobs, when they're
scheduled to run, when they last ran, and that lets you turn them on and
off and reschedule them.
ANOTHER thing to note -- the current code doesn't check all the plugin
cron tables, like activity_cron, interaction_cron, etc. So, the cron for
one of the plugins could be broken, and there'd be no warning to the
admin.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/987604
Title:
Display which cron jobs aren't running
Status in Mahara ePortfolio:
Triaged
Bug description:
This is a follow-up to bug # 987115.
When cron is running partially, it should be displayed:
* Which ones have failed.
* When it last ran fully.
* When it last ran partially/with skipped items.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/987604/+subscriptions
References