diff --git a/advanced/pihole.cron b/advanced/pihole.cron index c86dded3..7e52ca09 100644 --- a/advanced/pihole.cron +++ b/advanced/pihole.cron @@ -16,6 +16,10 @@ # Pi-hole: Update Pi-hole! Uncomment to enable auto update #30 2 * * 7 root /usr/local/bin/pihole updatePihole -# Pi-hole: Flush the log daily at 00:00 so it doesn't get out of control -# Stats will be viewable in the Web interface thanks to the cron job above +# Pi-hole: Import data from pihole.log into database every minute +* * * * * root /usr/local/bin/pihole importLogToDatabase + +# Pi-hole: Flush the database daily at 00:00 so it doesn't get out of control 00 00 * * * root /usr/local/bin/pihole flush + +