public function UltimateCronJob::isScheduled in Ultimate Cron 7.2
Check job schedule.
File
- ./
ultimate_cron.job.inc, line 377 - Job class for Ultimate Cron.
Class
- UltimateCronJob
- Class for handling cron jobs.
Code
public function isScheduled() {
UltimateCronPlugin::hook_cron_pre_schedule($this);
module_invoke_all('cron_pre_schedule', $this);
$result = empty($this->disabled) && !$this
->isLocked() && $this
->getPlugin('scheduler')
->isScheduled($this);
UltimateCronPlugin::hook_cron_post_schedule($this, $result);
module_invoke_all('cron_post_schedule', $this, $result);
return $result;
}