diff --git a/utils/lastheard b/utils/lastheard index fcf19f3..edb1a0b 100644 --- a/utils/lastheard +++ b/utils/lastheard @@ -1,5 +1,5 @@ #!/bin/bash -mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save -/usr/bin/tail -550 /var/www/html/lastheard.log.save > /var/www/html/lastheard.log -mv /var/www/html/lastheard.log /var/www/html/lastheard.log.save -/usr/bin/tail -550 /var/www/html/lastheard.log.save > /var/www/html/lastheard.log +mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save +/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log +mv /opt/HBmonitor/lastheard.log /var/www/html/lastheard.log.save +/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log