function elysia_cron_run_job_cleanup in Elysia Cron 6.2
Same name and namespace in other branches
- 7.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 1190
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);
}
}