4 ms·
I run this on a cron to auto update PiHole: #!/bin/sh LOG_FILE=/var/log/update_pihole.log echo "Starting upate" >> $LOG_FILE date >> $LOG_FIL
by leonroy 6y ago
I run this on a cron to auto update PiHole:
#!/bin/sh
LOG_FILE=/var/log/update_pihole.log
echo "Starting upate" >> $LOG_FILE
date >> $LOG_FILE
pihole -up >> $LOG_FILE
pihole -g >> $LOG_FILE
exit 0