From 4444bea042be78e86ef5eda81889229193bbda48 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 30 Mar 1999 15:30:44 +0000 Subject: Clean up persistent host status from sendmail(8) (if so configured). I had accumulated years' worth of junk files; now others won't have to. --- etc/periodic/daily/150.clean-hoststat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 etc/periodic/daily/150.clean-hoststat (limited to 'etc/periodic') 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 -- cgit v1.1