Xymon Mailing List Archive search

cleaning old data

list Doug Linder
Mon, 30 Jun 2008 15:00:48 -0400
Message-Id: <user-fd71a91c79b6@xymon.invalid>

Daniel Bourque [mailto:user-a141068964db@xymon.invalid] wrote:
I only want to keep 1 year of historical data
can I simply cron  :
/opt/hobbit/data$ find . -type f -mtime +360 -exec rm {} \;
Without breaking anything ?

Use the trimhistory command.


Doug Linder