function elysia_cron_active_jobs in Elysia Cron 7
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_active_jobs()
- 5 elysia_cron.module \elysia_cron_active_jobs()
- 6.2 elysia_cron.module \elysia_cron_active_jobs()
- 6 elysia_cron.module \elysia_cron_active_jobs()
- 7.2 elysia_cron.module \elysia_cron_active_jobs()
Get all jobs that needs to be executed in a channel
1 call to elysia_cron_active_jobs()
File
- ./
elysia_cron.module, line 1185
Code
function elysia_cron_active_jobs($channel) {
global $elysia_cron_settings_by_channel;
$jobs = array();
foreach ($elysia_cron_settings_by_channel[$channel] as $job => $conf) {
if ($job != '#data') {
if (elysia_cron_should_run($conf)) {
$jobs[] = $job;
}
}
}
return $jobs;
}