• 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

starkinternet

Chevereto Member
Hey you guys, this script is great but it also eat alot of disk space LOL

Is there any methods to remove inactive image file in xx period days ? If you guys know how to do it, please share it here

Thanks alot in advanced,

Phil
 
I dont have much, just around 50gb ssd ( cloud server ) and it was used over 90% for now. the thing is I dont want to keep space for in-active image files in house..is it possible, sir?
 
Thanks for your help, does it really remove the inactive image file ? I am not a programer so I do not really understand that code lines. ALso, how to make it run in my ubuntu server?
 
Thanks for your help, does it really remove the inactive image file ? I am not a programer so I do not really understand that code lines. ALso, how to make it run in my ubuntu server?

Sorry, can't help you. I barely understand those instructions you should ask some server folks or maybe serverfault.com
 
Last edited:
My suggestion would be to parse the access log files (image/time of access), import that into your db and run a cron every day or so with a custom script that deletes images which have not been accessed in XX days.
 
Back
Top