discourse/app/jobs/scheduled/destroy_old_deletion_stubs.rb
Sam e1f293ad66 FEATURE: new scheduler
Removed sidetiq, introduced new scheduler

- add basic UI
- add schedule discover
- add scheduling in initializer
2014-02-06 10:26:16 +11:00

10 lines
189 B
Ruby

module Jobs
# various consistency checks
class DestroyOldDeletionStubs < Jobs::Scheduled
every 30.minutes
def execute(args)
PostDestroyer.destroy_stubs
end
end
end