[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Add brief usage for flashproxy-exercise.
commit cc69f02cd17b19530d1c8fe3fb858ba2d3822ad2
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Thu Feb 9 15:30:27 2012 -0800
Add brief usage for flashproxy-exercise.
---
experiments/exercise/exercise.sh | 3 +++
experiments/exercise/flashproxy-exercise.sh | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/experiments/exercise/exercise.sh b/experiments/exercise/exercise.sh
index a7c7511..834bd48 100755
--- a/experiments/exercise/exercise.sh
+++ b/experiments/exercise/exercise.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+# This script registers with the flash proxy facilitator, tries to download
+# check.torproject.org, and saves a timestamped log file.
+
FLASHPROXY_DIR="$HOME/flashproxy"
TOR="$HOME/tor/src/or/tor"
LOCAL_PORT=1080
diff --git a/experiments/exercise/flashproxy-exercise.sh b/experiments/exercise/flashproxy-exercise.sh
index ec60b8b..4db7530 100755
--- a/experiments/exercise/flashproxy-exercise.sh
+++ b/experiments/exercise/flashproxy-exercise.sh
@@ -1,5 +1,8 @@
#!/bin/sh
+# Usage (for example in crontab for hourly tests):
+# 0 * * * * cd /path/flashproxy-exercise && ./flashproxy-exercise.sh
+
DATE=$(date +"%Y-%m-%d-%H:%M")
LOG="log-$DATE"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits