demarches-normaliennes/lib/tasks/deployment/20191127135401_enable_export_purge.rake

9 lines
251 B
Ruby
Raw Normal View History

2019-11-27 14:56:08 +01:00
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