drupal_cron_cleanup
includes/common.inc, строка 2677
- Версии
- 5 – 6
drupal_cron_cleanup()
Shutdown function for cron cleanup.
Код
<?php
function drupal_cron_cleanup() {
// See if the semaphore is still locked.
if (variable_get('cron_semaphore', FALSE)) {
watchdog('cron', 'Cron run exceeded the time limit and was aborted.', array(), WATCHDOG_WARNING);
// Release cron semaphore
variable_del('cron_semaphore');
}
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии