From c298f65432dca989c158b513d6a1ee4743bf5a67 Mon Sep 17 00:00:00 2001 From: Waldek Date: Sat, 29 Jun 2019 21:24:18 +0200 Subject: [PATCH] Update Readme.md --- utils/Readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/Readme.md b/utils/Readme.md index 79c2538..941bd05 100644 --- a/utils/Readme.md +++ b/utils/Readme.md @@ -30,11 +30,11 @@ we can skip show in last heard for exmaple from MASTER with name OPB-Link I recommed to shorten the lastheard.log from time to time (I cut every day to 550 lines, longer values maybe extend the load time and parsing) with this script lh_shorten.sh: -#!/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 + #!/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 Call this script with crontab for everyday use.