demarches-normaliennes/app/jobs/purge_stale_exports_job.rb
2019-12-18 13:35:04 +01:00

7 lines
115 B
Ruby

class PurgeStaleExportsJob < ApplicationJob
queue_as :cron
def perform
Export.stale.destroy_all
end
end