mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-08 13:04:44 +00:00
cron to update pi-hole
This checks once a week if core Pi-hole needs updating.
This commit is contained in:
parent
6daf80ef56
commit
96bacc372a
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@
|
|||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# Pi-hole: Check if Pi-hole needs to be updated. Check once a week on Monday at 01:59
|
||||
# New releases often come out on Sunday, so checking the next day should be effective.
|
||||
59 1 * * 7 root /usr/local/bin/updatePihole
|
||||
|
||||
# Pi-hole: Update the ad sources once a week on Sunday at 01:59
|
||||
# Download any updates from the ad lists
|
||||
59 1 * * 7 root /usr/local/bin/gravity.sh
|
||||
|
|
Loading…
Reference in a new issue