Module: CronSchedulable

Extended by:
ActiveSupport::Concern
Includes:
Schedulable
Included in:
Ci::PipelineSchedule
Defined in:
app/models/concerns/cron_schedulable.rb

Instance Method Summary collapse

Methods included from Schedulable

#schedule_next_run!

Instance Method Details

#set_next_run_atObject


7
8
9
# File 'app/models/concerns/cron_schedulable.rb', line 7

def set_next_run_at
  self.next_run_at = calculate_next_run_at
end