Add new Block List from sources using RestAPI

Hi all, Is it possible to have schedule block list updater? Let's say we have a block list set up localy or on internet , how can I get this list's latest version to pi-hole? Thansk

Add your adlist as a http:// url (for internet) or file:/// url (for local). Run the command pihole -g to check the lists for an update. You can schedule this command using cron.

Note that Pi-hole does this every week anyway (on a Saturday I believe) so, if that works for you, then just add your list, no need to run or schedule anything.

Gravity is updated automatically each Sunday morning between 0300 and 0500 local time.

1 Like