Add purge stale export job
This commit is contained in:
parent
d0939ae1a4
commit
ce7ab89934
3 changed files with 16 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue