diff options
Diffstat (limited to 'amavis/cron.daily/local-amavis')
-rwxr-xr-x | amavis/cron.daily/local-amavis | 9 |
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 |