function elysia_cron_is_running in Elysia Cron 6.2
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_is_running()
- 5 elysia_cron.module \elysia_cron_is_running()
- 6 elysia_cron.module \elysia_cron_is_running()
- 7.2 elysia_cron.module \elysia_cron_is_running()
- 7 elysia_cron.module \elysia_cron_is_running()
Check if cron is currently running. (Not used by elysia_cron, can be used by external modules)
File
- ./
elysia_cron.module, line 1445
Code
function elysia_cron_is_running() {
global $elysia_cron_settings_by_channel;
elysia_cron_initialize();
$running = array();
foreach ($elysia_cron_settings_by_channel as $channel => $data) {
if (elysia_cron_is_channel_running($channel)) {
$running[] = $channel;
}
}
return $running;
}