mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
e1f293ad66
Removed sidetiq, introduced new scheduler - add basic UI - add schedule discover - add scheduling in initializer
10 lines
189 B
Ruby
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
|