mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-29 02:26:18 -05:00
10 lines
191 B
Ruby
10 lines
191 B
Ruby
|
module Jobs
|
||
|
class CleanUpExports < Jobs::Scheduled
|
||
|
every 2.day
|
||
|
|
||
|
def execute(args)
|
||
|
ExportCsv.remove_old_exports # delete exported CSV files older than 2 days
|
||
|
end
|
||
|
end
|
||
|
end
|