summaryrefslogtreecommitdiffstats
path: root/cups.cron
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-27 16:50:50 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-27 16:50:50 +0100
commit65608e0f8bbc0190cc1b7646f653e796c807f02b (patch)
tree274ade8f5007bd7f9c252d8262637e0300363e82 /cups.cron
import cups from F16
Diffstat (limited to 'cups.cron')
-rwxr-xr-xcups.cron8
1 files changed, 8 insertions, 0 deletions
diff --git a/cups.cron b/cups.cron
new file mode 100755
index 0000000..72f91d8
--- /dev/null
+++ b/cups.cron
@@ -0,0 +1,8 @@
+#!/bin/sh
+for d in /var/spool/cups/tmp
+do
+ if [ -d "$d" ]; then
+ /usr/sbin/tmpwatch -f 720 "$d"
+ fi
+done
+exit 0