public function JobScheduler::info in Job Scheduler 7.2
Same name and namespace in other branches
- 7 JobScheduler.inc \JobScheduler::info()
Returns scheduler info.
Throws
See also
hook_cron_job_scheduler_info()
2 calls to JobScheduler::info()
- JobScheduler::dispatch in ./
JobScheduler.inc - Dispatches a job.
- JobScheduler::execute in ./
JobScheduler.inc - Executes a job that.
File
- ./
JobScheduler.inc, line 51 - JobScheduler class.
Class
- JobScheduler
- Manage scheduled jobs.
Code
public function info() {
if ($info = job_scheduler_info($this->name)) {
return $info;
}
throw new JobSchedulerException('Could not find Job Scheduler cron information for ' . check_plain($this->name));
}