cleaning old data
list Daniel Bourque
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
list Doug Linder
▸
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