data_privacy_task_job.rb 162 B

1234567
  1. class DataPrivacyTaskJob < ApplicationJob
  2. include HasActiveJobLock
  3. def perform
  4. DataPrivacyTask.where(state: 'in process').find_each(&:perform)
  5. end
  6. end