mirror of https://github.com/ShaYmez/HBmonitor.git
parent
8d2b00b452
commit
61e188b050
|
@ -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 /opt/HBmonitor/lastheard.log.save
|
||||
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log
|
||||
mv /opt/HBmonitor/log/lastheard.log /opt/HBmonitor/log/lastheard.log.save
|
||||
/usr/bin/tail -150 /opt/HBmonitor/log/lastheard.log.save > /opt/HBmonitor/log/lastheard.log
|
||||
mv /opt/HBmonitor/log/lastheard.log /opt/HBmonitor/log/lastheard.log.save
|
||||
/usr/bin/tail -150 /opt/HBmonitor/log/lastheard.log.save > /opt/HBmonitor/log/lastheard.log
|
||||
|
|
Loading…
Reference in New Issue