function elysia_cron_execute_page_cleanup in Elysia Cron 5.2
Same name and namespace in other branches
- 5 elysia_cron.admin.inc \elysia_cron_execute_page_cleanup()
- 6 elysia_cron.admin.inc \elysia_cron_execute_page_cleanup()
- 7 elysia_cron.admin.inc \elysia_cron_execute_page_cleanup()
1 string reference to 'elysia_cron_execute_page_cleanup'
File
- ./
elysia_cron.admin.inc, line 745
Code
function elysia_cron_execute_page_cleanup() {
global $cron_completed, $cron_executing_job;
if ($cron_completed) {
return;
}
// See if the semaphore is still locked.
if (elysia_cron_is_job_running($cron_executing_job)) {
_dco_watchdog('cron', 'Unexpected termination of cron job %job manually started, aborted.', array(
'%job' => $cron_executing_job,
), WATCHDOG_WARNING);
elysia_cron_set_job_running($cron_executing_job, 0);
}
}