function elysia_cron_set_channel_rule in Elysia Cron 7.2
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_set_channel_rule()
- 5 elysia_cron.module \elysia_cron_set_channel_rule()
- 6.2 elysia_cron.module \elysia_cron_set_channel_rule()
- 6 elysia_cron.module \elysia_cron_set_channel_rule()
- 7 elysia_cron.module \elysia_cron_set_channel_rule()
Set new rule for channel.
Parameters
string $channel: Channel name.
string $rule: Crontab formatted rule.
1 call to elysia_cron_set_channel_rule()
- elysia_cron_settings_form_submit in ./
elysia_cron.admin.inc - Submit handler for 'elysia_cron_settings_form' form.
File
- ./
elysia_cron.module, line 463
Code
function elysia_cron_set_channel_rule($channel, $rule) {
elysia_cron_set($channel, TRUE, array(
'rule' => $rule,
));
}