9 lines
270 B
Ruby
9 lines
270 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Cron::ProcedureExternalURLCheckJob < Cron::CronJob
|
|
self.schedule_expression = "every week on monday at 01:00"
|
|
|
|
def perform
|
|
Procedure.with_external_urls.find_each { ::ProcedureExternalURLCheckJob.perform_later(_1) }
|
|
end
|
|
end
|