You are here

public function UltimateCronJob::launch in Ultimate Cron 7.2

Launch job.

File

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

Class

UltimateCronJob
Class for handling cron jobs.

Code

public function launch() {
  UltimateCronPlugin::hook_cron_pre_launch($this);
  module_invoke_all('cron_pre_launch', $this);
  $result = $this
    ->getPlugin('launcher')
    ->launch($this);
  UltimateCronPlugin::hook_cron_post_launch($this);
  module_invoke_all('cron_post_launch', $this);
  return $result;
}