Auto delete export files after 7 days

How can I auto-delete export files (CSV and XLSX) as well as Import Failure CSV after 7 days from their creation?
Was this page helpful?