public function UltimateCronJob::run in Ultimate Cron 7.2
Run job.
File
- ./
ultimate_cron.job.inc, line 473 - Job class for Ultimate Cron.
Class
- UltimateCronJob
- Class for handling cron jobs.
Code
public function run() {
$this
->clearSignals();
$this
->initializeProgress();
UltimateCronPlugin::hook_cron_pre_run($this);
module_invoke_all('cron_pre_run', $this);
self::$currentJob = $this;
$result = $this
->getPlugin('launcher')
->run($this);
self::$currentJob = NULL;
UltimateCronPlugin::hook_cron_post_run($this);
module_invoke_all('cron_post_run', $this);
$this
->finishProgress();
return $result;
}