[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Add support for installing cronjob running daily.



commit 79ae8cd35f406731a1460e865e7a19be465f696e
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Mon Mar 10 02:23:19 2014 +0100

    Add support for installing cronjob running daily.
---
 scripts/install_on_planetlab.sh |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/install_on_planetlab.sh b/scripts/install_on_planetlab.sh
index afa9022..f4ac6df 100644
--- a/scripts/install_on_planetlab.sh
+++ b/scripts/install_on_planetlab.sh
@@ -93,3 +93,8 @@ sudo pip install obfsproxy
 # Update the Tor running in ooniprobe
 cat ~/.ooni/ooniprobe.conf | sed s/'start_tor: true'/'start_tor: false'/ | sed s/'#socks_port: 8801'/'socks_port: 9050'/ > ~/.ooni/ooniprobe.conf.new
 mv ~/.ooni/ooniprobe.conf.new ~/.ooni/ooniprobe.conf
+
+mkdir /home/$USER/bridge_reachability/
+
+# Add cronjob to run ooniprobe daily
+{ crontab -l; echo "0 0 * * * $USER ooniprobe -c httpo://e2nl5qgtkzp7cibx.onion blocking/bridge_reachability -f /home/$USER/bridge_reachability/bridges.txt -t 300"; } | crontab



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits