1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-08-13 16:53:51 -04:00
pi-hole/advanced/Scripts/piholeLogFlush.sh
Jacob Salmela 1b51b9ade3 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.
2015-11-05 14:31:38 -06:00

4 lines
76 B
Bash
Executable File

#!/bin/bash
# Flushes /var/log/pihole.log
truncate -s 0 /var/log/pihole.log