You are here

public function UltimateCronGeneralSettings::cron_post_schedule in Ultimate Cron 7.2

Implements hook_cron_post_schedule().

Overrides UltimateCronPlugin::cron_post_schedule

File

plugins/ultimate_cron/settings/general.class.php, line 41
General settings for Ultimate Cron.

Class

UltimateCronGeneralSettings
General settings plugin class.

Code

public function cron_post_schedule($job, &$result) {
  if (self::getGlobalOption('bypass_schedule')) {
    $result = $result || empty($job->disabled) && !$job
      ->isLocked();
  }
}