File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818# early morning. Download any updates from the adlists
1919# Squash output to log, then splat the log to stdout on error to allow for
2020# standard crontab job error handling.
21- 59 1 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
21+ 59 1 * * 7 root PATH="$PATH:/usr/sbin:/usr/ local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
2222
2323# Pi-hole: Flush the log daily at 00:00
2424# The flush script will use logrotate if available
2525# parameter "once": logrotate only once (default is twice)
2626# parameter "quiet": don't print messages
27- 00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
27+ 00 00 * * * root PATH="$PATH:/usr/sbin:/usr/ local/bin/" pihole flush once quiet
2828
2929@reboot root /usr/sbin/logrotate /etc/pihole/logrotate
3030
3131# Pi-hole: Grab local version and branch every 10 minutes
32- */10 * * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker local
32+ */10 * * * * root PATH="$PATH:/usr/sbin:/usr/ local/bin/" pihole updatechecker local
3333
3434# Pi-hole: Grab remote version every 24 hours
35- 59 17 * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
36- @reboot root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
35+ 59 17 * * * root PATH="$PATH:/usr/sbin:/usr/ local/bin/" pihole updatechecker remote
36+ @reboot root PATH="$PATH:/usr/sbin:/usr/ local/bin/" pihole updatechecker remote reboot
You can’t perform that action at this time.
0 commit comments