mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
10 lines
216 B
Ruby
10 lines
216 B
Ruby
module Jobs
|
|
# various consistency checks
|
|
class DestroyOldDeletionStubs < Jobs::Scheduled
|
|
recurrence { hourly.minute_of_hour(0, 30) }
|
|
|
|
def execute(args)
|
|
PostDestroyer.destroy_stubs
|
|
end
|
|
end
|
|
end
|