mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-25 01:08:43 -05:00
Update Readme.md
This commit is contained in:
parent
21fea9b738
commit
64d9123460
@ -19,7 +19,7 @@ we can skip show in last heard for exmaple from MASTER with name OPB-Link
|
||||
if p[3] != 'OPB-Link' and int(float(p[9])) > 2:
|
||||
|
||||
|
||||
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 lastheard.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 lastheard:
|
||||
|
||||
#!/bin/bash
|
||||
mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save
|
||||
@ -30,7 +30,9 @@ I recommed to shorten the lastheard.log from time to time (I cut every day to 55
|
||||
|
||||
Call this script with crontab for everyday use.
|
||||
|
||||
Put this file in /etc/cron.daily/
|
||||
Put this file in /etc/cron.daily/ and add attribute:
|
||||
chmod +x /etc/cron.daily/lastheard
|
||||
|
||||
|
||||
|
||||
Call the website with http://[YOUR_HOST/log.php it runs with a refresh/reload time of 30sec, change the script for other timeset.
|
||||
|
Loading…
Reference in New Issue
Block a user