mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 21:50:24 +08:00
10 lines
192 B
Ruby
10 lines
192 B
Ruby
module Jobs
|
|
class CleanUpExports < Jobs::Scheduled
|
|
every 2.day
|
|
|
|
def execute(args)
|
|
UserExport.remove_old_exports # delete exported CSV files older than 2 days
|
|
end
|
|
end
|
|
end
|