You are here

function elysia_cron_is_channel_running in Elysia Cron 6.2

Same name and namespace in other branches
  1. 5.2 elysia_cron.module \elysia_cron_is_channel_running()
  2. 5 elysia_cron.module \elysia_cron_is_channel_running()
  3. 6 elysia_cron.module \elysia_cron_is_channel_running()
  4. 7.2 elysia_cron.module \elysia_cron_is_channel_running()
  5. 7 elysia_cron.module \elysia_cron_is_channel_running()
5 calls to elysia_cron_is_channel_running()
drush_elysia_cron_run_wrapper in ./elysia_cron.drush.inc
A drush command callback.
elysia_cron_admin_page in ./elysia_cron.admin.inc
elysia_cron_check_run_channel in ./elysia_cron.module
Check if the channel is idle (not running, or stuck). If so set returns available jobs.
elysia_cron_internal_execute_channel_cleanup in ./elysia_cron.module
Shutdown function for cron cleanup.
elysia_cron_is_running in ./elysia_cron.module
Check if cron is currently running. (Not used by elysia_cron, can be used by external modules)

File

./elysia_cron.module, line 486

Code

function elysia_cron_is_channel_running($channel, $default = 0, $refresh = false) {
  return elysia_cron_get($channel, true, 'running', $default, $refresh);
}