You are here

public function UltimateCronJob::enable in Ultimate Cron 7.2

Enable a job.

File

./ultimate_cron.job.inc, line 251
Job class for Ultimate Cron.

Class

UltimateCronJob
Class for handling cron jobs.

Code

public function enable() {
  if (empty($this->hook['immutable'])) {
    ctools_include('export');
    ctools_export_crud_enable('ultimate_cron_job', $this);
    return TRUE;
  }
  return FALSE;
}