Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Component/s: Administration
-
Labels:None
-
Database:Any
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
Description
After the "Deleted old cache_text records" step of cron execution, something strange happens... no more output..... ![]()
Have to test it.
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-12321 | Forum digest sending breaks the cron task and don't send the messages |
|
|
|
Another thing: I was so lucky because get the daily send of digest mails in action. And this line:
if ($digestposts = get_records('forum_queue')) {
just crash if there are too many records in the table (right now one server has more than 800.000!).
I would propose to:
And this is the called DIGEST_CRON_PROBLEM from now.
I continue advancing...
- Change code to use one recordset.
- Add one more query to delete old records say, one week, at the begining of the forum cron. just to avoid current and future accumulation!
- Add some trace message about the digest process starting (was impossible to detect if before!).
And this is the called DIGEST_CRON_PROBLEM from now. I continue advancing...