I'm not so sure about the Filterfiles tought I guess changes to those require a restart of Privoxy.
So "killall privoxy" + " /usr/sbin/privoxy " in the cron script should work? Or does privoxy need an additional argument to restart correctly
Dont forget to specify the config file when restarting Privoxy.
In case you're using the inbuild Privoxy with the custom config it 's residing in /tmp/privoxy.conf the command to restart Privoxy would have to look like this:
/usr/sbin/privoxy /tmp/privoxy.conf _________________ The Netgear R7000 is a beast!
Netgear R7000 running DD-WRT BS 25648 with wl0_ampdu=off as Router
ASUS AC66U running DD-WRT Kong 23900 OLDD downclocked to 500 MHz as Repeater
ASUS N66U running 374.43_2 MerlinWRT with BL1.09 downclocked to 500MHz as WET for my Mainmachine
Linksys E2000 running Tomato v121 as WET for my Synology DS214play and Minix Neo X7 Mini
In case you're using the inbuild Privoxy with the custom config it 's residing in /tmp/privoxy.conf the command to restart Privoxy would have to look like this:
/usr/sbin/privoxy /tmp/privoxy.conf
Seems to work just fine! _________________ Netgear R7000 on Build 55109
Asus AC-AC68U rev. C1 (AP) on Build 55109
Asus AC-68U rev. A1 on Build 54604
Asus AC-68U rev. A1 on Build 53339
Posted: Mon Jan 12, 2015 20:47 Post subject: Will the Privoxy executable run on Tomato Firmware?
Due to random reboots, I am planning to switch to Tomato Shibby. Can I take the privoxy executable and run it on Tomato? The OP indicated as much, need to confirm it.
Is there anyway to run the "sh jffs/etc/privoxy-blocking.sh" script bi-weekly or weekly automatically?? Currently I'm doing this manually to update the filters.
Is there anyway to run the "sh jffs/etc/privoxy-blocking.sh" script bi-weekly or weekly automatically?? Currently I'm doing this manually to update the filters.
Will love to automate this process if possible.
Thx in advance.
You can do the following.
Under Administration > Management > look under Cron. Make sure it's enabled then under it enter e.g.
Is there anyway to run the "sh jffs/etc/privoxy-blocking.sh" script bi-weekly or weekly automatically?? Currently I'm doing this manually to update the filters.
Will love to automate this process if possible.
Thx in advance.
You can do the following.
Under Administration > Management > look under Cron. Make sure it's enabled then under it enter e.g.
You can either look into your /jffs/privoxy folder and check the timestamps of your filter files. It should populate to the current date. or you can script a log file like this.
#!/bin/sh
# Created for adblock, to update and log activity when script has started and ended.
# Don't forget to chmod +rw
# wait for a bit (5 seconds)... depending on your router you can make this longer or shorter
sleep 5
# change path to suit your installation
path="/opt/adblock"
# launch the script
# add a empty line in log
echo >> /opt/adblock/log/run.log
echo "Adblock Started - "$(date) >> opt/adblock/log/run.log 2>&1
sh $path/privoxy-blocklist.sh
echo "Adblock Finished - "$(date) >> /opt/adblock/log/run.log 2>&1
echo "----------------------------" >> /opt/adblock/log/run.log 2>&1
exit
I made a script to log the events
rocky13 wrote:
Kalonji25 wrote:
Hello.... Question
Is there anyway to run the "sh jffs/etc/privoxy-blocking.sh" script bi-weekly or weekly automatically?? Currently I'm doing this manually to update the filters.
Will love to automate this process if possible.
Thx in advance.
You can do the following.
Under Administration > Management > look under Cron. Make sure it's enabled then under it enter e.g.
Is there anyway to run the "sh jffs/etc/privoxy-blocking.sh" script bi-weekly or weekly automatically?? Currently I'm doing this manually to update the filters.
Will love to automate this process if possible.
Thx in advance.
You can do the following.
Under Administration > Management > look under Cron. Make sure it's enabled then under it enter e.g.