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

Re: [tor-bugs] #11640 [Torflow]: bwauth, aggregate.py fails on freebsd



#11640: bwauth, aggregate.py fails on freebsd
-------------------------+----------------------------------------------
     Reporter:  phobos   |      Owner:  aagbsn
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:  Torflow  |    Version:
   Resolution:           |   Keywords:  torflow, python, freebsd, torctl
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+----------------------------------------------

Comment (by phobos):

 cron-mine.sh is

 {{{
 #!/bin/sh

 SCANNER_DIR=/usr/home/torflow/torflow/NetworkScanners/BwAuthority

 TIMESTAMP=`date +%Y%m%d-%H%M`
 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 $ARCHIVE
  #scp $OUTPUT bwscan@xxxxxxxxxxxxxxxx:/var/lib/tor.scans/bwscan >
 /dev/null
 fi
 }}}

 SCANNER_DIR is the correct path.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11640#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs