Writing essential stats to a log file

This commit is contained in:
robocopAlpha 2021-07-16 04:05:41 +03:00
parent 893cdc4523
commit 4f590e2934
4 changed files with 22 additions and 5 deletions

View file

@ -59,6 +59,16 @@ echo '5 18 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" updatepi' >|
exit
```
#### Adding List generation as a cron job
```sh
sudo -s
ln -s /home/dietpi/pihole_lists/pull.lists.sh /usr/local/bin/pullLists
chmod +x /usr/local/bin/pullLists
echo '30 2 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pullLists' >| /etc/cron.d/pullLists
exit
```
## Whitelisting / False Positive reports