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:
Just create a scheduled task that grabs the files checks their dates and delete them if they are old enough.
Jump to solution
2 Replies
Solution
awcodes
awcodesβ€’2mo ago
Just create a scheduled task that grabs the files checks their dates and delete them if they are old enough.
Bart - EffectConnect
Bart - EffectConnectOPβ€’2mo ago
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
Want results from more Discord servers?
Add your server