|
Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
Static Public Member Functions | |
| static | run_pending_recalculation_tasks (bool $discardoutput=false) |
| Run any ad-hoc recalculation tasks that have been scheduled. | |
|
static |
Run any ad-hoc recalculation tasks that have been scheduled.
We need a special function to do this as the tasks are deferred by one hour, so we need to pass a custom $timestart argument.
| bool | $discardoutput | Capture and discard output from executed tasks? |
| void |