2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2020-09-08 15:06:23 +00:00
|
|
|
class DataPrivacyTaskJob < ApplicationJob
|
|
|
|
include HasActiveJobLock
|
|
|
|
|
|
|
|
def perform
|
|
|
|
DataPrivacyTask.where(state: 'in process').find_each(&:perform)
|
|
|
|
end
|
|
|
|
end
|