Class: CreateManifestExpireSoonWarningNotifications
- Inherits:
-
ApplicationJob
- Object
- ApplicationJob
- CreateManifestExpireSoonWarningNotifications
- Defined in:
- app/jobs/create_manifest_expire_soon_warning_notifications.rb
Instance Method Summary collapse
Instance Method Details
#humanized_name ⇒ Object
8 9 10 |
# File 'app/jobs/create_manifest_expire_soon_warning_notifications.rb', line 8 def humanized_name _('Subscription Manifest expiration date check') end |
#perform ⇒ Object
2 3 4 5 6 |
# File 'app/jobs/create_manifest_expire_soon_warning_notifications.rb', line 2 def perform Katello::UINotifications::Subscriptions::ManifestExpireSoonWarning.deliver! ensure self.class.set(:wait => 24.hours).perform_later end |