drupal_cron_cleanup()
drupal/includes/common.inc, line 3052
Shutdown function for cron cleanup.
| Name | Description |
|---|---|
| Input validation | Functions to validate user input. |
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');
}
}