function elysia_cron_get_job_stats in Elysia Cron 6.2
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_get_job_stats()
- 5 elysia_cron.module \elysia_cron_get_job_stats()
- 6 elysia_cron.module \elysia_cron_get_job_stats()
- 7.2 elysia_cron.module \elysia_cron_get_job_stats()
- 7 elysia_cron.module \elysia_cron_get_job_stats()
2 calls to elysia_cron_get_job_stats()
- elysia_cron_initialize in ./
elysia_cron.module - elysia_cron_internal_execute_job in ./
elysia_cron.module - Internal function to execute a single job
File
- ./
elysia_cron.module, line 656
Code
function elysia_cron_get_job_stats($job, $refresh = false) {
return array(
'last_run' => elysia_cron_get($job, false, 'last_run', 0, $refresh),
'last_execution_time' => elysia_cron_get($job, false, 'last_execution_time', 0, $refresh),
'execution_count' => elysia_cron_get($job, false, 'execution_count', 0, $refresh),
'avg_execution_time' => elysia_cron_get($job, false, 'avg_execution_time', 0, $refresh),
'max_execution_time' => elysia_cron_get($job, false, 'max_execution_time', 0, $refresh),
);
}