function elysia_cron_set_job_weight in Elysia Cron 7.2
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_set_job_weight()
- 5 elysia_cron.module \elysia_cron_set_job_weight()
- 6.2 elysia_cron.module \elysia_cron_set_job_weight()
- 6 elysia_cron.module \elysia_cron_set_job_weight()
- 7 elysia_cron.module \elysia_cron_set_job_weight()
Set weight specified job.
Parameters
string $job: Job name.
string $value: New weight for job.
1 call to elysia_cron_set_job_weight()
- elysia_cron_settings_form_submit in ./
elysia_cron.admin.inc - Submit handler for 'elysia_cron_settings_form' form.
File
- ./
elysia_cron.module, line 746
Code
function elysia_cron_set_job_weight($job, $value) {
elysia_cron_set($job, FALSE, array(
'weight' => $value,
));
}