function elysia_cron_run_job_cleanup in Elysia Cron 7.2
Same name and namespace in other branches
- 6.2 elysia_cron.module \elysia_cron_run_job_cleanup()
1 string reference to 'elysia_cron_run_job_cleanup'
- elysia_cron_run_job in ./
elysia_cron.module - Public function to execute a single job.
File
- ./
elysia_cron.module, line 1408
Code
function elysia_cron_run_job_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)) {
elysia_cron_warning('Unexpected termination of cron job %job manually started, aborted.', array(
'%job' => $_cron_executing_job,
));
elysia_cron_set_job_running($_cron_executing_job, 0);
}
}