-
Bug
-
Resolution: Fixed
-
Major
-
3.3.2, 3.4, 3.4.3, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_36_STABLE
-
MDL-60514-master-new-cron-execution -
When executed as "Run now":
Execute scheduled task: Forum mailings and maintenance jobs (mod_forum\task\cron_task)
|
... started 13:58:56. Current memory use 9.4MB.
|
... used 3 dbqueries
|
... used 0.0015528202056885 seconds
|
Scheduled task failed: Forum mailings and maintenance jobs (mod_forum\task\cron_task),Coding error detected, it must be fixed by a programmer: Function cron_setup_user() cannot be used in normal requests!
|
Backtrace:
|
* line 918 of /mod/forum/lib.php: call to cron_setup_user()
|
* line 45 of /mod/forum/classes/task/cron_task.php: call to forum_cron()
|
* line 104 of /lib/cronlib.php: call to mod_forum\task\cron_task->execute()
|
* line 292 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
|
* line 91 of /admin/tool/task/schedule_task.php: call to cron_run_single_task()
|
When executed as part of cron in /admin/cron.php:
Execute scheduled task: Forum mailings and maintenance jobs (mod_forum\task\cron_task)
|
... started 14:00:50. Current memory use 8MB.
|
Starting digest processing...
|
Cleaned old digest records
|
... used 6 dbqueries
|
... used 0.0041258335113525 seconds
|
Scheduled task complete: Forum mailings and maintenance jobs (mod_forum\task\cron_task)
|
Tested on 3.4 and 3.3. There is no "Run now" for scheduled tasks on 3.2 so it's not applicable
- blocks
-
MDL-63706 Scheduled task mod_forum\task\cron_task fails when executed as "Run now" (Backport of MDL-60514)
- Closed
-
MDL-63580 Deprecate dupe cron_run_single_task() function
- Closed
- caused a regression
-
MDL-64318 "Run now" button has vanished in Server > Scheduled tasks screen
- Closed
- has a non-specific relationship to
-
MDLQA-12799 CLONE - An admin can run individual scheduled tasks via the UI
- Passed
- has a QA test
-
MDLQA-12281 An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Open
-
MDLQA-15360 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
-
MDLQA-15949 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
-
MDLQA-16593 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
-
MDLQA-17209 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
-
MDLQA-17797 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
-
MDLQA-18301 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
-
MDLQA-18793 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
-
MDLQA-19256 CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI
- Passed
- has been marked as being related by
-
MDL-67994 Behat: running scheduled tasks in the admin task UI runs them on the real site, not the behat site
- Open
- has to be done before
-
MDL-63580 Deprecate dupe cron_run_single_task() function
- Closed
- is duplicated by
-
MDL-61599 Function cron_setup_user() cannot be used in normal requests!
- Closed
-
MDL-63444 Forum Cron error
- Closed
- Testing discovered
-
MDL-63811 Typo in new config setting in phpunit allow list
- Closed