|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Functions | |
| cron_run () | |
| cron_execute_plugin_type ($plugintype, $description=null) | |
| cron_bc_hack_plugin_functions ($plugintype, $plugins) | |
| notify_login_failures () | |
| 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. (The standard API is frankenstyle_name_cron() in lib.php; some types used cron.php and some used a different name.)
| string | $plugintype | Plugin type e.g. 'report' |
| array | $plugins | Array from plugin name (e.g. 'report_frog') to function name (e.g. 'report_frog_cron') for plugin cron functions that were already found using the new API |
Definition at line 539 of file cronlib.php.


| cron_execute_plugin_type | ( | $ | plugintype, |
| $ | description = null |
||
| ) |
Executes cron functions for a specific type of plugin.
| string | $plugintype | Plugin type (e.g. 'report') |
| string | $description | If specified, will display 'Starting (whatever)' and 'Finished (whatever)' lines, otherwise does not display |
Definition at line 470 of file cronlib.php.


| cron_run | ( | ) |
Execute cron tasks
Definition at line 29 of file cronlib.php.

Notify admin users or admin user of any failed logins (since last notification).
Note that this function must be only executed from the cron script It uses the cache_flags system to store temporary records, deleting them by name before finishing
Definition at line 597 of file cronlib.php.

