mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
for use as a cron job
The log will be flushed daily and stats will be stored in a DB for displaying on the Web interface.
This commit is contained in:
parent
ee40bc0423
commit
1b51b9ade3
1 changed files with 3 additions and 0 deletions
3
advanced/Scripts/piholeLogFlush.sh
Executable file
3
advanced/Scripts/piholeLogFlush.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
# Flushes /var/log/pihole.log
|
||||
truncate -s 0 /var/log/pihole.log
|
Loading…
Reference in a new issue