mirror of https://github.com/ShaYmez/HBmonitor.git
Update lastheard
This commit is contained in:
parent
a7aacf62f0
commit
89cb6234e0
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save
|
mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save
|
||||||
/usr/bin/tail -550 /var/www/html/lastheard.log.save > /var/www/html/lastheard.log
|
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log
|
||||||
mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save
|
mv /opt/HBmonitor/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 -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log
|
||||||
|
|
Loading…
Reference in New Issue