mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-21 23:45:17 -05:00
Update Readme.md
This commit is contained in:
parent
7928344f0e
commit
c298f65432
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user