[tor-commits] [torflow/master] Update cron script to differentiate output vs archive.

mikeperry at torproject.org mikeperry at torproject.org
Thu Nov 17 23:50:09 UTC 2011


commit f964c66e4eeae5c6d21c540d9439573a0cb0f968
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Fri Nov 4 15:05:19 2011 -0700

    Update cron script to differentiate output vs archive.
---
 NetworkScanners/BwAuthority/cron.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/NetworkScanners/BwAuthority/cron.sh b/NetworkScanners/BwAuthority/cron.sh
index c3cd5f6..e424a8f 100755
--- a/NetworkScanners/BwAuthority/cron.sh
+++ b/NetworkScanners/BwAuthority/cron.sh
@@ -3,14 +3,14 @@
 SCANNER_DIR=~/code/tor/torflow/NetworkScanners/BwAuthority
 
 TIMESTAMP=`date +%Y%m%d-%H%M`
-TOR_DEST=$SCANNER_DIR/bwscan.V3BandwidthsFile
-OUTPUT=$SCANNER_DIR/data/bwscan.${TIMESTAMP}
+ARCHIVE=$SCANNER_DIR/data/bwscan.${TIMESTAMP}
+OUTPUT=$SCANNER_DIR/bwscan.V3BandwidthsFile
 
 cd $SCANNER_DIR # Needed for import to work properly.
 $SCANNER_DIR/aggregate.py $SCANNER_DIR/data $OUTPUT
 
 if [ $? = 0 ]
 then
- cp $OUTPUT $TOR_DEST
- #scp $TOR_DEST bwscan at torauthority.org:/var/lib/tor.scans/bwscan > /dev/null
+ cp $OUTPUT $ARCHIVE
+ #scp $OUTPUT bwscan at torauthority.org:/var/lib/tor.scans/bwscan > /dev/null
 fi





More information about the tor-commits mailing list