data_privacy_task_job.rb 239 B

123456789
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class DataPrivacyTaskJob < ApplicationJob
  3. include HasActiveJobLock
  4. def perform
  5. DataPrivacyTask.where(state: 'in process').find_each(&:perform)
  6. end
  7. end