SHARE
TWEET

pihole monthly update job

Gorgatron Aug 14th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #With root permissions, create a file in /etc/cron.monthly/ with the following:
  2. #!/bin/bash
  3. sudo apt-get update
  4. sudo apt-get upgrade -y
  5. sudo apt-get autoclean
  6. pihole -g -up
  7. pihole -up
  8.  
  9. #Then sudo chmod +x it to give it execute permissions. That should be all you need to do and it will just run these commands once a month.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top