Skip to content

Instantly share code, notes, and snippets.

@codexss
Last active December 25, 2015 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codexss/4e53dd3677cc2023fef6 to your computer and use it in GitHub Desktop.
Save codexss/4e53dd3677cc2023fef6 to your computer and use it in GitHub Desktop.
openwrt-hosts-update-cronjob
0 4 * * * /usr/bin/wget -O- 'http://adaway.org/hosts.txt' > /etc/h0sts/adaway
0 4 * * * /usr/bin/wget -O- 'http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext' > /etc/h0sts/yoyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment