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?
3 Replies
Vp
Vp8mo ago
Check cron job in laravel and delete from db using 'delete()' and for file delete them using storage or based on what it saves
Faridleo
Faridleo7mo ago
How I can delete database notifications too?
LeandroFerreira
LeandroFerreira7mo ago
Medium
Automatically delete read database notifications in Laravel
When using Laravel, if you need to notify your users you can benefit from its built-in notification system. Laravel provides support for…

Did you find this page helpful?