• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Cron to remove inactive image file in xx days

Since there isn't a method to do it:

You will need to create an script that checks for "file activity" > Detect those that meets your criteria > Get the image ID based on the image file name > call CHV\Image::delete(<ids>); that will get rid of the images that meet your criteria.

That of course doesn't take into account external storage.
 
Back
Top