demarches-normaliennes/lib/tasks/deployment/20191127135401_enable_export_purge.rake
2019-12-18 13:13:15 +01:00

8 lines
251 B
Ruby

namespace :after_party do
desc 'Deployment task: enable_export_purge'
task enable_export_purge: :environment do
PurgeStaleExportsJob.set(cron: "*/5 * * * *").perform_later
AfterParty::TaskRecord.create version: '20191127135401'
end
end