I'm using the GarbageCollector as described:
GarbageCollect::dropOldFiles($this->img_cache_dir, 30, true);
where $this->img_cache_dir is my /web/image_cache directory.
The GarbageCollector deletes some files, but when I check one subfolder of /web/image_cache/0 for example, there are still older images in it:
Hello,
I'm using the GarbageCollector as described: GarbageCollect::dropOldFiles($this->img_cache_dir, 30, true); where $this->img_cache_dir is my /web/image_cache directory.
The GarbageCollector deletes some files, but when I check one subfolder of /web/image_cache/0 for example, there are still older images in it:
I'm running the script as root, so there should no file access permission issues.