You are here

public function UltimateCronSimpleScheduler::getDefaultSettings in Ultimate Cron 7.2

Get default settings.

Overrides UltimateCronPlugin::getDefaultSettings

File

plugins/ultimate_cron/scheduler/simple.class.php, line 48
Simple cron job scheduler for Ultimate Cron.

Class

UltimateCronSimpleScheduler
Simple scheduler.

Code

public function getDefaultSettings($job = NULL) {
  $settings = parent::getDefaultSettings($job);
  $settings['catch_up'] = $this->catch_up[isset($settings['rules'][0]) ? $settings['rules'][0] : $this->default_rule];
  return $settings;
}