HBmonitor/utils/lastheard

6 lines
312 B
Plaintext
Raw Normal View History

2019-08-19 06:51:37 -04:00
#!/bin/bash
2019-08-20 12:25:31 -04:00
mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log
2019-08-20 12:25:51 -04:00
mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save
2019-08-20 12:25:31 -04:00
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log