mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2025-03-27 14:38:55 -04:00
6 lines
344 B
Bash
6 lines
344 B
Bash
#!/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
|