Update lastheard

This commit is contained in:
Waldek 2019-08-20 18:25:51 +02:00 committed by GitHub
parent 89cb6234e0
commit 4f595b3dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log
mv /opt/HBmonitor/lastheard.log /var/www/html/lastheard.log.save
mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log