diff options
Diffstat (limited to 'advanced/pihole.cron')
-rw-r--r-- | advanced/pihole.cron | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/advanced/pihole.cron b/advanced/pihole.cron index 8311acfb..854a9459 100644 --- a/advanced/pihole.cron +++ b/advanced/pihole.cron @@ -23,4 +23,7 @@ # 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 +# The flush script will use logrotate if available 00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush + +@reboot root /usr/sbin/logrotate /etc/pihole/logrotate |