HBmonitor/utils/lastheard

6 lines
344 B
Plaintext
Raw Permalink Normal View History

2019-08-19 06:51:37 -04:00
#!/bin/bash
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