discourse/app/jobs/scheduled/clean_up_exports.rb

12 lines
179 B
Ruby

# frozen_string_literal: true
module Jobs
class CleanUpExports < ::Jobs::Scheduled
every 1.day
def execute(args)
UserExport.remove_old_exports
end
end
end