Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Functions
cronlib.php File Reference

Cron functions. More...

Functions

 cron_bc_hack_plugin_functions ($plugintype, $plugins)
 Used to add in old-style cron functions within plugins that have not been converted to the new standard API. More...
 
 cron_execute_plugin_type ($plugintype, $description=null)
 Executes cron functions for a specific type of plugin. More...
 
 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)
 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_run_single_task (\core\task\scheduled_task $task)
 Runs a single cron task. 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