I want to use the trimhistory command but not sure exactly how to execute it. Anyone have an example?
Thanks
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by e-mail and destroy all copies of the original.
Hi,
Am 05.08.2016 um 13:41 schrieb Blumenthal, Russell:
I want to use the trimhistory command but not sure exactly how to execute it. Anyone have an example?
I'm cleaning my history data daily with a cron job. It executes the following command to delete all history that is older than one year:
/usr/libexec/xymon/trimhistory --cutoff=date +%s --date="today -1 year" --drop --droplogs --env=/etc/xymon/xymonserver.cfg
Dirk
participants (2)
-
dirk.kastens@uni-osnabrueck.de
-
Russell.Blumenthal@stonybrookmedicine.edu