function elysia_cron_get_job_stats in Elysia Cron 6
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.2 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()
File
- ./
elysia_cron.module, line 641
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),
);
}