5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 15:36:22 +00:00
panel/app/jobs/cleanup_job.rb

9 lines
208 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# Realiza tareas de limpieza en segundo plano
class CleanupJob < ApplicationJob
def perform(before = nil)
CleanupService.new(before: before).cleanup_everything!
end
end