mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2024-11-19 23:01:54 -05:00
6 lines
328 B
Bash
6 lines
328 B
Bash
#!/bin/bash
|
|
mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save
|
|
/usr/bin/tail -250 /opt/HBMonv2/log/lastheard.log.save > /opt/HBMonv2/log/lastheard.log
|
|
mv /opt/HBMonv2/log/lastheard.log /opt/HBMonv2/log/lastheard.log.save
|
|
/usr/bin/tail -250 /opt/HBMonv2/log/lastheard.log.save > /opt/HBMonv2/log/lastheard.log
|