Refactor inactive contact archivation

Fixes #956
This commit is contained in:
Artur Beljajev 2019-03-28 22:08:16 +02:00
parent 296442e330
commit 487613db1e
14 changed files with 424 additions and 84 deletions

View file

@ -18,7 +18,7 @@ if @cron_group == 'registry'
end
every 6.months, at: '12:01am' do
runner 'Contact.destroy_orphans'
rake 'contacts:archive'
end
every :day, at: '12:10am' do