mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2024-11-14 04:11:47 -05:00
9 lines
368 B
Bash
Executable File
9 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# copy this file to /etc/cron.daily/
|
|
|
|
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
|