summaryrefslogtreecommitdiff
path: root/amavis/cron.daily
diff options
context:
space:
mode:
Diffstat (limited to 'amavis/cron.daily')
-rwxr-xr-xamavis/cron.daily/local-amavis9
1 files changed, 9 insertions, 0 deletions
diff --git a/amavis/cron.daily/local-amavis b/amavis/cron.daily/local-amavis
new file mode 100755
index 0000000..47323b1
--- /dev/null
+++ b/amavis/cron.daily/local-amavis
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# local amavis cron daily
+
+set -e
+
+find /var/lib/amavis/virusmails/ -type f -mtime +14 -exec rm -f '{}' ';'
+
+exit 0