Sha256: 50d5b310bb3594fff2944488b891bdab67e812fa968d30666ba83773d7d81cf9

Contents?: true

Size: 265 Bytes

Versions: 54

Compression:

Stored size: 265 Bytes

Contents

# First, we check if there's a job already enqueued for any notifications
::Foreman::Application.dynflow.config.on_init do |world|
  [CreatePulpDiskSpaceNotifications, SendExpireSoonNotifications].each do |job_class|
    job_class.spawn_if_missing(world)
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
katello-3.15.3.1 lib/katello/scheduled_jobs.rb
katello-3.15.3 lib/katello/scheduled_jobs.rb
katello-3.15.2 lib/katello/scheduled_jobs.rb
katello-3.15.1.1 lib/katello/scheduled_jobs.rb
katello-3.15.1 lib/katello/scheduled_jobs.rb
katello-3.15.0.1 lib/katello/scheduled_jobs.rb
katello-3.15.0 lib/katello/scheduled_jobs.rb
katello-3.15.0.rc2 lib/katello/scheduled_jobs.rb
katello-3.15.0.rc1.3 lib/katello/scheduled_jobs.rb
katello-3.15.0.rc1.2 lib/katello/scheduled_jobs.rb
katello-3.15.0.rc1.1 lib/katello/scheduled_jobs.rb
katello-3.15.0.rc1 lib/katello/scheduled_jobs.rb
katello-3.14.1 lib/katello/scheduled_jobs.rb
katello-3.13.4 lib/katello/scheduled_jobs.rb
katello-3.14.0 lib/katello/scheduled_jobs.rb
katello-3.13.3 lib/katello/scheduled_jobs.rb
katello-3.14.0.rc2 lib/katello/scheduled_jobs.rb
katello-3.13.2 lib/katello/scheduled_jobs.rb
katello-3.14.0.rc1 lib/katello/scheduled_jobs.rb
katello-3.13.1 lib/katello/scheduled_jobs.rb