#!/bin/sh
#
# /etc/cron.daily/eaccelerator purges eaccelerator cache files which
# are older than 7 days.
#

CACHE_MAX_AGE=7

[ -f /etc/default/eaccelerator ] && . /etc/default/eaccelerator

find /var/cache/eaccelerator -type f -mtime +${CACHE_MAX_AGE} -print0 | xargs --no-run-if-empty --null rm --force
