summaryrefslogtreecommitdiffstats
path: root/gold/scoreboard/modules/available/bitcoin/gather
blob: 8b9964289c8910e0476f1adb200ee24c3d322c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
HERE=$(dirname $(readlink -f $0))
. $HERE/../../../profile
LF=bitcoin
mkdir -p $ADIR
mkdir -p $LDIR


# write into live directory and archive
$BITCOIND_PATH getinfo | python $HERE/render | tee $LDIR/$LF >> $ADIR/$LF

echo  `date +"%Y-%m-%dT%H:%M:%S"` `$KREBSDIR/bin/mtgox_ticker` | sed -e 's/High: //' -e 's/Low: //' -e 's/Last: //' | tee $LDIR/ticker_${LF}>> $ADIR/ticker_${LF}