#!/bin/sh

# clean out old copies of mass-check logs
# 180 days = ~6 months
cd /export/home/ruleqadb
find . -mtime +180 -name '*.log.gz' | xargs rm -f

cd /export/home/ruleqadb/logs
find . -mtime +30 -name '*.log' | xargs rm -f

