Command to delete files
thebatclaudio opened this issue ยท 5 comments
thebatclaudio commented
Create a command to delete files after 1 day
MagnaibayarMN commented
Hello, I wanna be assigned. Could please describe more.
For an example: which files of directory we have to delete?
thebatclaudio commented
Hello!
You should delete files on storage/app/public/generated
You can find generated videos on generated_videos
table (with timestamps, so you can take only the videos that were generated more than 24 hours ago)
Let me know!
thebatclaudio commented
Hey @MagnaibayarMN,
how is it going? Have you already started working on this issue?
I'm asking because my VPS is exploding with so many files and I'm forced to delete them manually ๐
MagnaibayarMN commented
I apologize for that ๐๐ป, please review this PR
thebatclaudio commented
It works great! Thank you @MagnaibayarMN!