summaryrefslogtreecommitdiffstats
path: root/gold/scoreboard/modules/available/solidcoin/gather
blob: 8b54bbb81d00a051035c391ddea177e1514917a1 (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/mooncoin_ticker` | sed -e 's/High: //' -e 's/Low: //' -e 's/Last: //' | tee $LDIR/ticker_${LF}>> $ADIR/ticker_${LF}