cleaning old data

Daniel Bourque dbourque at weatherdata.com
Mon Jun 30 20:23:59 CEST 2008


Hi,

    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 ?

Thanks

-- 
Dan




More information about the Xymon mailing list