thebatclaudio/batman-listening-things

Command to delete files

thebatclaudio opened this issue ยท 5 comments

Create a command to delete files after 1 day

Hello, I wanna be assigned. Could please describe more.
For an example: which files of directory we have to delete?

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!

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 ๐Ÿ˜…

I apologize for that ๐Ÿ™๐Ÿป, please review this PR

It works great! Thank you @MagnaibayarMN!