summaryrefslogtreecommitdiffstats
path: root/php-eaccelerator.cron
diff options
context:
space:
mode:
Diffstat (limited to 'php-eaccelerator.cron')
-rw-r--r--php-eaccelerator.cron5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-eaccelerator.cron b/php-eaccelerator.cron
new file mode 100644
index 0000000..371f519
--- /dev/null
+++ b/php-eaccelerator.cron
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Remove cache files not accessed during the last 7 days
+/usr/sbin/tmpwatch -u -d -f 7d /var/cache/php-eaccelerator
+