Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Functions
cronlib.php File Reference

Cron functions. More...

Functions

 cron_prepare_core_renderer ($restore=false)
 Prepare the output renderer for the cron run. More...
 
 cron_run ()
 Execute cron tasks.
 
 cron_run_adhoc_tasks (int $timenow, $keepalive=0, $checklimits=true)
 Execute all queued adhoc tasks, applying necessary concurrency limits and time limits. More...
 
 cron_run_inner_adhoc_task (\core\task\adhoc_task $task)
 Shared code that handles running of a single adhoc task within the cron. More...
 
 cron_run_inner_scheduled_task (\core\task\task_base $task)
 Shared code that handles running of a single scheduled task within the cron. More...
 
 cron_run_scheduled_tasks (int $timenow)
 Execute all queued scheduled tasks, applying necessary concurrency limits and time limits. More...
 
 cron_trace_time_and_memory ()
 Output some standard information during cron runs. More...
 

Detailed Description

Cron functions.

@subpackage admin

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later