2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-08-15 13:53:17 -04:00
|
|
|
module Jobs
|
|
|
|
class CleanUpExports < Jobs::Scheduled
|
2018-06-04 21:41:40 -04:00
|
|
|
every 1.day
|
2014-08-15 13:53:17 -04:00
|
|
|
|
|
|
|
def execute(args)
|
2018-06-04 21:41:40 -04:00
|
|
|
UserExport.remove_old_exports
|
2014-08-15 13:53:17 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|