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.9.1 lib/katello/scheduled_jobs.rb
katello-3.10.0.rc1 lib/katello/scheduled_jobs.rb
katello-3.9.0 lib/katello/scheduled_jobs.rb
katello-3.8.1 lib/katello/scheduled_jobs.rb
katello-3.9.0.rc2 lib/katello/scheduled_jobs.rb
katello-3.9.0.rc1 lib/katello/scheduled_jobs.rb
katello-3.7.1.1 lib/katello/scheduled_jobs.rb
katello-3.7.1 lib/katello/scheduled_jobs.rb
katello-3.8.0 lib/katello/scheduled_jobs.rb
katello-3.8.0.rc3 lib/katello/scheduled_jobs.rb
katello-3.8.0.rc2 lib/katello/scheduled_jobs.rb
katello-3.7.0 lib/katello/scheduled_jobs.rb
katello-3.8.0.rc1 lib/katello/scheduled_jobs.rb
katello-3.7.0.rc2 lib/katello/scheduled_jobs.rb