← Back to team overview

mahara-contributors team mailing list archive

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

 

https://reviews.mahara.org/496


** Changed in: mahara
     Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)

** Changed in: mahara
       Status: Confirmed => In Progress

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

Title:
  Cron job to delete old cached images

Status in Mahara ePortfolio:
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/547803/+subscriptions