Update pihole's blocklist more often with cron
I’m using pihole in docker and an anti-phishing website blocking list from cert.pl. They recommend re-download the list every 5 minutes. Pi-hole by default updates the database only once a week. We need to increase the frequency.
I don’t really know why, but every Pi-hole forum thread says “just mount a file in the pihole docker container at etc/cron.d”, but that just doesn’t work. The job just never runs.
Here’s what I did instead:
Instead of creating a /etc/pihole.d/somefile inside the contaier, I created a cron file on the host (the computer running docker, not inside the container).