Update Readme.md

This commit is contained in:
Waldek 2019-06-29 21:24:18 +02:00 committed by GitHub
parent 7928344f0e
commit c298f65432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: 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 #!/bin/bash
mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save 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 /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 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 /usr/bin/tail -550 /var/www/html/lastheard.log.save > /var/www/html/lastheard.log
Call this script with crontab for everyday use. Call this script with crontab for everyday use.