Sha256: 4874a00edfeab3650d89eee783dfa4df7ea86e74f11f10b2f0e634b50d9ca1be

Contents?: true

Size: 292 Bytes

Versions: 9

Compression:

Stored size: 292 Bytes

Contents

class SendExpireSoonNotifications < ApplicationJob
  after_perform do
    self.class.set(:wait => 12.hours).perform_later
  end

  def perform
    Katello::UINotifications::Subscriptions::ExpireSoon.deliver!
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.7.1.1 app/jobs/send_expire_soon_notifications.rb
katello-3.7.1 app/jobs/send_expire_soon_notifications.rb
katello-3.8.0 app/jobs/send_expire_soon_notifications.rb
katello-3.8.0.rc3 app/jobs/send_expire_soon_notifications.rb
katello-3.8.0.rc2 app/jobs/send_expire_soon_notifications.rb
katello-3.7.0 app/jobs/send_expire_soon_notifications.rb
katello-3.8.0.rc1 app/jobs/send_expire_soon_notifications.rb
katello-3.7.0.rc2 app/jobs/send_expire_soon_notifications.rb
katello-3.7.0.rc1 app/jobs/send_expire_soon_notifications.rb