Automatically delete Export files
Hi guys! I've started playing around with the Exporter functionality in Filament. Works great in combination with Digital Ocean spaces. I'm wondering how to auto-delete the files from DO after a while, since I don't want to keep them there forever.
Anyone struggled with that before?
Solution:Jump to solution
Just create a scheduled task that grabs the files checks their dates and delete them if they are old enough.
2 Replies
Solution
Just create a scheduled task that grabs the files checks their dates and delete them if they are old enough.
That was my back-up plan, I thought maybe someone has another way that was built in in Filament π
Case closed. I used a scheduled task. Thanks @awcodes