summaryrefslogtreecommitdiffstats
path: root/php-eaccelerator.cron
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-10 07:14:25 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-10 07:14:25 +0200
commit1394bb97b77f98577fa4e6d83fce1564f1b5d6ea (patch)
tree7b808644b76b277998e92aaafc8b3147006a9538 /php-eaccelerator.cron
repo reorg
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
+