function elysia_cron_set_channel_running in Elysia Cron 7.2
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_set_channel_running()
- 5 elysia_cron.module \elysia_cron_set_channel_running()
- 6.2 elysia_cron.module \elysia_cron_set_channel_running()
- 6 elysia_cron.module \elysia_cron_set_channel_running()
- 7 elysia_cron.module \elysia_cron_set_channel_running()
Updated channel running value.
Parameters
string $channel: Channel name.
int $value: New running value.
1 call to elysia_cron_set_channel_running()
- 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.
File
- ./
elysia_cron.module, line 502
Code
function elysia_cron_set_channel_running($channel, $value) {
elysia_cron_set($channel, TRUE, array(
'running' => $value,
));
}