blob: 41f4b5536c2526e130e97a268213eb6075c917d1 [file] [log] [blame]
#!/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