← Back to team overview

mahara-contributors team mailing list archive

[Bug 547803] Re: Cron job to delete old cached images

 

** Changed in: mahara
   Importance: Wishlist => Low

-- 
Cron job to delete old cached images
https://bugs.launchpad.net/bugs/547803
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Confirmed

Bug description:
Given that images are stored cached on disk in a three tier md5 structure, it is hard to delete all of them at once when the original is requested to be deleted.

A cron job should be written to find all filed older than a certain time in the cache and remove them.

It doesn't matter if the cronjob is a little indiscriminate, as cached images will be regenerated on the fly.

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=1659&group_id=176&atid=742