You are here

function elysia_cron_set_job_rule in Elysia Cron 7.2

Same name and namespace in other branches
  1. 5.2 elysia_cron.module \elysia_cron_set_job_rule()
  2. 5 elysia_cron.module \elysia_cron_set_job_rule()
  3. 6.2 elysia_cron.module \elysia_cron_set_job_rule()
  4. 6 elysia_cron.module \elysia_cron_set_job_rule()
  5. 7 elysia_cron.module \elysia_cron_set_job_rule()

Set formatted crontab rule for specified job.

Parameters

string $job: Job name.

string $value: New crontab rule for job.

1 call to elysia_cron_set_job_rule()
elysia_cron_settings_form_submit in ./elysia_cron.admin.inc
Submit handler for 'elysia_cron_settings_form' form.

File

./elysia_cron.module, line 703

Code

function elysia_cron_set_job_rule($job, $value) {
  elysia_cron_set($job, FALSE, array(
    'rule' => $value,
  ));
}