Newer
Older
* Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).
include_once 'includes/bootstrap.inc';
include_once 'includes/common.inc' ;
// Check if the last cron run completed
if (variable_get('cron_busy', false)) {
watchdog('cron', t('Last cron run did not complete.'), WATCHDOG_WARNING);
}
else {
variable_set('cron_busy', true);
}
// Iterate through the modules calling their cron handlers (if any):
module_invoke_all('cron');
Dries Buytaert
committed
watchdog('cron', t('Cron run completed'));