Sha256: f1053e7e608b18fd68ff2d0efc693123c55f7aaede57cd8b3328b5248c061f3b

Contents?: true

Size: 275 Bytes

Versions: 187

Compression:

Stored size: 275 Bytes

Contents

class SendExpireSoonNotifications < ApplicationJob
  def perform
    Katello::UINotifications::Subscriptions::ExpireSoon.deliver!
  ensure
    self.class.set(:wait => 12.hours).perform_later
  end

  def humanized_name
    _('Subscription expiration notification')
  end
end

Version data entries

187 entries across 187 versions & 1 rubygems

Version Path
katello-4.16.0 app/jobs/send_expire_soon_notifications.rb
katello-4.15.1 app/jobs/send_expire_soon_notifications.rb
katello-4.16.0.rc2 app/jobs/send_expire_soon_notifications.rb
katello-4.16.0.rc1 app/jobs/send_expire_soon_notifications.rb
katello-4.14.3 app/jobs/send_expire_soon_notifications.rb
katello-4.14.2 app/jobs/send_expire_soon_notifications.rb
katello-4.15.0 app/jobs/send_expire_soon_notifications.rb
katello-4.15.0.rc2 app/jobs/send_expire_soon_notifications.rb
katello-4.15.0.rc1 app/jobs/send_expire_soon_notifications.rb
katello-4.14.1 app/jobs/send_expire_soon_notifications.rb
katello-4.14.0 app/jobs/send_expire_soon_notifications.rb
katello-4.14.0.rc3 app/jobs/send_expire_soon_notifications.rb
katello-4.14.0.rc2 app/jobs/send_expire_soon_notifications.rb
katello-4.14.0.rc1.1 app/jobs/send_expire_soon_notifications.rb
katello-4.14.0.rc1 app/jobs/send_expire_soon_notifications.rb
katello-4.13.1 app/jobs/send_expire_soon_notifications.rb
katello-4.13.0 app/jobs/send_expire_soon_notifications.rb
katello-4.12.1 app/jobs/send_expire_soon_notifications.rb
katello-4.13.0.rc1 app/jobs/send_expire_soon_notifications.rb
katello-4.12.0 app/jobs/send_expire_soon_notifications.rb