• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

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