SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
SPONG_CLEANUP=/usr/sbin/spong-cleanup

# cron script to maintain the spong database. It does the following:
#
# * Cleans out any history older then 7 days. It moves the old history for each
#   host into the $SPONG_ARCHIVE directory. If you don't think you would ever
#   want to get at that history, then you can just change the script so that
#   it is deleted.
#
# * Removes any acknowledgements that are no longer valid.
#
# * Removes any services that don't seem to be reported any more (if you stop
#  monitoring something on a machine - the old entry will still hang around and
#  show up as purple).

15 0 * * *	spong	test -x $SPONG_CLEANUP && $SPONG_CLEANUP

