When any command under /media image is run, it saves the image to Cloudinary via a separate service for file storage and manipulation.
The Problem
These files don't need to stay saved there forever, just long enough for data manipulation to occur. Thus, we should have some sort of job to clean up those old files.
Requirements
Files saved to the folder in Cloudinary specifically allocated for the /media image command are deleted after they are x amount of time old. (Perhaps x = 1 week? - we don't need long-living files)
Context
When any command under
/media image
is run, it saves the image to Cloudinary via a separate service for file storage and manipulation.The Problem
These files don't need to stay saved there forever, just long enough for data manipulation to occur. Thus, we should have some sort of job to clean up those old files.
Requirements
Files saved to the folder in Cloudinary specifically allocated for the
/media image
command are deleted after they are x amount of time old. (Perhaps x = 1 week? - we don't need long-living files)