Add files via upload

This commit is contained in:
Waldek 2020-12-31 15:27:08 +01:00 committed by GitHub
parent 2f4ac2bd02
commit 4788ff0fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
utils/lastheard Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save
/usr/bin/tail -250 /opt/HBMonv2/log/lastheard.log.save > /opt/HBMonv2/log/lastheard.log
mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save
/usr/bin/tail -250 /opt/HBMonv2/log/lastheard.log.save > /opt/HBMonv2/log/lastheard.log