blob: c53c7f9ed947c0e2ae49b77d4f1ad545f29a0e39 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
 | namespace :compliance_check_sets do
  desc "Notify parent check sets when children finish"
  task notify_parent: :environment do
    ParentNotifier.new(ComplianceCheckSet).notify_when_finished
  end
  desc "Mark old unfinished check sets as 'aborted'"
  task abort_old: :environment do
    ComplianceCheckSet.abort_old
  end
end
 |