From 89cb6234e06bd72b31a028a7bb06ec7c89acd661 Mon Sep 17 00:00:00 2001 From: Waldek Date: Tue, 20 Aug 2019 18:25:31 +0200 Subject: [PATCH] Update lastheard --- utils/lastheard | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/lastheard b/utils/lastheard index fcf19f3..edb1a0b 100644 --- a/utils/lastheard +++ b/utils/lastheard @@ -1,5 +1,5 @@ #!/bin/bash -mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save -/usr/bin/tail -550 /var/www/html/lastheard.log.save > /var/www/html/lastheard.log -mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save -/usr/bin/tail -550 /var/www/html/lastheard.log.save > /var/www/html/lastheard.log +mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save +/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log +mv /opt/HBmonitor/lastheard.log /var/www/html/lastheard.log.save +/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log