119627029-task_moved_into_cronjob

(cherry picked from commit 2f1b255)
This commit is contained in:
Stas 2016-07-08 17:58:15 +03:00 committed by Vladimir Krylov
parent 1487a260d1
commit 5ed949efc6
3 changed files with 12 additions and 14 deletions

View file

@ -132,4 +132,9 @@ class DomainCron
)
end
def self.delete_legal_doc_duplicates
Rake::Task['legal_doc:remove_duplicates'].reenable
Rake::Task['legal_doc:remove_duplicates'].invoke
end
end