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

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



commit f964c66e4eeae5c6d21c540d9439573a0cb0f968
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxx:/var/lib/tor.scans/bwscan > /dev/null
+ cp $OUTPUT $ARCHIVE
+ #scp $OUTPUT bwscan@xxxxxxxxxxxxxxxx:/var/lib/tor.scans/bwscan > /dev/null
 fi



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