Re: Adblock Plugin
Posted: Mon Aug 08, 2022 5:09 am
On at least some devices, the adblock lists don't seem to get updated as expected. I think this comes down to a path issue in the adblock cron entry.
The standard crontab entry set by /usr/lib/adblock/runadblock.sh is:
However on affected devices the runadblock.sh script doesn't exist on that path in which case I think the cron entry should look like:
If you're using the adblock plugin and the lists don't appear to be getting updated every Sunday, you can make the change at line 18 in /usr/lib/adblock/runadblock.sh from
to
and then disable then re-enable the plugin. You can also make a temporary change to the cron entry itself with an ssh connection and the command
but be warned that it requires knowing how to use the vi text editor (unless you've made other arrangements)...
The standard crontab entry set by /usr/lib/adblock/runadblock.sh is:
Code: Select all
0 4 * * 0 sh /plugin_root/usr/lib/adblock/runadblock.sh
Code: Select all
0 4 * * 0 sh /usr/lib/adblock/runadblock.sh
Code: Select all
CRON="0 4 * * 0 sh /plugin_root/usr/lib/adblock/runadblock.sh"
Code: Select all
CRON="0 4 * * 0 sh /usr/lib/adblock/runadblock.sh"
Code: Select all
crontab -e