mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 22:42:27 -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
|