Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Functions
cronlib.php File Reference

Cron functions. More...

Functions

 cron_prepare_core_renderer ($restore=false)
 Prepare the output renderer for the cron run.
 
 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.
 
 cron_run_inner_adhoc_task (\core\task\adhoc_task $task)
 Shared code that handles running of a single adhoc task within the cron.
 
 cron_run_inner_scheduled_task (\core\task\task_base $task)
 Shared code that handles running of a single scheduled task within the cron.
 
 cron_run_scheduled_tasks (int $timenow)
 Execute all queued scheduled tasks, applying necessary concurrency limits and time limits.
 
 cron_set_process_title (string $title)
 Sets the process title.
 
 cron_trace_time_and_memory ()
 Output some standard information during cron runs.
 

Detailed Description

Cron functions.

@subpackage admin

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