Class: CertWatch::RenewExpiringCertificatesJob

Inherits:
Object
  • Object
show all
Defined in:
app/jobs/cert_watch/renew_expiring_certificates_job.rb

Class Method Summary collapse

Class Method Details

.performObject


5
6
7
8
9
10
11
# File 'app/jobs/cert_watch/renew_expiring_certificates_job.rb', line 5

def self.perform
  Certificate
    .installed
    .expiring
    .limit(CertWatch.config.renewal_batch_size)
    .each(&:renew)
end