2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00
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