summaryrefslogtreecommitdiffstats
path: root/etc/periodic/daily/150.clean-hoststat
blob: b335eb429bee6fd43204e25ce2ad55db6808412c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# $FreeBSD$
#

if [ -d /var/spool/.hoststat ] ; then
	echo ""
	echo "Removing stale files from /var/spool/.hoststat:"

	cd /var/spool/.hoststat && find * -mtime +3 -delete
fi
OpenPOWER on IntegriCloud