function elysia_cron_is_running in Elysia Cron 7
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.2 elysia_cron.module \elysia_cron_is_running()
- 6 elysia_cron.module \elysia_cron_is_running()
- 7.2 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 1203
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;
}