tmpwatch/tmpwatch.daily
Miloslav Trmac dbb7f77bc2 - Fix a misleading message in --test Resolves: 234596
- Compress the tarball using bzip2
- Move the cron.daily script to a separate source file
2007-03-31 12:31:40 +00:00

10 lines
301 B
Bash

#! /bin/sh
/usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix \
-x /tmp/.ICE-unix -x /tmp/.Test-unix 10d /tmp
/usr/sbin/tmpwatch 30d /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
if [ -d "$d" ]; then
/usr/sbin/tmpwatch -f 30d "$d"
fi
done