Updated:
24/02/2016 - 15:24
Perform periodic system maintenance jobs. If a hook_cron() implementation throws an exception, watchdog() is called to log an error message, execution continues and TRUE is returned. If drupal_cron_run() was called from system_run_cron_submit() by pressing the "Run cron" button the message "Cron run successfully" will be displayed in spite of any thrown exceptions.

Called by:
cron.php, install_finished(), system_run_automated_cron(), system_run_cron(), system_run_cron_submit()
Filename:
includes/common.inc