Create lastheard.sh

This commit is contained in:
Waldek
2019-06-26 19:59:38 +02:00
committed by GitHub
parent ac862e2386
commit a7991a6701
+5
View File
@@ -0,0 +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