diff --git a/Scripts/tmpwatch b/Scripts/tmpwatch new file mode 100644 index 000000000..826b4313d --- /dev/null +++ b/Scripts/tmpwatch @@ -0,0 +1,6 @@ +#!/bin/sh + +SOGOSPOOL=/var/spool/sogo + +/usr/sbin/tmpwatch 24 "$SOGOSPOOL" +find "$SOGOSPOOL" -type d -empty -exec /bin/rmdir -p {} \; 2> /dev/null