summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/daily/150.clean-hoststat11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/periodic/daily/150.clean-hoststat b/etc/periodic/daily/150.clean-hoststat
new file mode 100755
index 0000000..423231e
--- /dev/null
+++ b/etc/periodic/daily/150.clean-hoststat
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# $Id: 140.clean-rwho,v 1.3 1999/03/21 12:33:54 joerg Exp $
+#
+
+if [ -d /var/spool/.hoststat ] ; then
+ echo ""
+ echo "Removing stale files from /var/spool/.hoststat:"
+
+ cd /var/rwho && find * -mtime +3 -delete
+fi
OpenPOWER on IntegriCloud