Add seek_and_destroy_expired_dossier
This commit is contained in:
parent
006e426a11
commit
508ba8f116
3 changed files with 16 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
namespace :after_party do
|
||||
desc 'Deployment task: enable_seek_and_destroy_job'
|
||||
task enable_seek_and_destroy_job: :environment do
|
||||
SeekAndDestroyExpiredDossiersJob.set(cron: "0 7 * * *").perform_later
|
||||
AfterParty::TaskRecord.create version: '20191203142402'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue