mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
9 lines
192 B
Ruby
9 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
|