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


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

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