Index

(jobs)

o2job_enable

boolean o2job_enable(string $job_name, string $on)

Sets job enabled/disabled, depending on passed parameter.
Old value is returned.


Parameters:
  1. $job_name
  2. Job name to look for
  3. $on
  4. TRUE to enable, FALSE to disable
Related functions:

o2job_is_enabled

o2job_get_by_name

o2job_run