Automatic commit. Thu Oct 18 12:00:02 WST 2012
[matches/honours.git] / research / TCS / pressure / monitor.sh
1 #!/bin/bash
2 dir="/home/sam/Documents/University/honours/research/TCS/pressure"
3 cd $dir
4 p=$(./get_pressure.sh)
5 echo $(( $(date +%s) - $(date +%s --date=0000) )) $p $(date +%H%M%S) >> $(date +%F).dat
6
7 #update=$(( $(date +%M) % 60 ))
8 #if [ "$update" == "0" ]; then
9 #       echo "Chamber pressure is $p mbar #pressure" | twidge update
10 #fi

UCC git Repository :: git.ucc.asn.au