From 8054d9816114295580766bf7b2a7b1d0f60516e5 Mon Sep 17 00:00:00 2001 From: Waldek Date: Tue, 18 May 2021 17:12:40 +0200 Subject: [PATCH] Update lastheard --- utils/lastheard | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/lastheard b/utils/lastheard index 6fdc60e..02cbf2e 100755 --- a/utils/lastheard +++ b/utils/lastheard @@ -1,4 +1,7 @@ #!/bin/bash +# +# copy this file to /etc/cron.daily/ + mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save /usr/bin/tail -250 /opt/HBMonv2/log/lastheard.log.save > /opt/HBMonv2/log/lastheard.log mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save