trabajo-afectivo/app/jobs/data_privacy_task_job.rb
2022-01-01 14:38:12 +01:00

9 lines
239 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class DataPrivacyTaskJob < ApplicationJob
include HasActiveJobLock
def perform
DataPrivacyTask.where(state: 'in process').find_each(&:perform)
end
end