[hobbit] cleaning old data

Linder, Doug (SABIC Innovative Plastics, consultant) Doug.Linder at sabic-ip.com
Mon Jun 30 21:00:48 CEST 2008


Daniel Bourque [mailto:dbourque at weatherdata.com] 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



More information about the Xymon mailing list