git.ucc.asn.au
/
matches
/
honours.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic commit. Fri Sep 28 00:00:03 WST 2012
[matches/honours.git]
/
research
/
TCS
/
pressure
/
monitor.sh
diff --git
a/research/TCS/pressure/monitor.sh
b/research/TCS/pressure/monitor.sh
index
7aac20d
..
d7c3e05
100755
(executable)
--- a/
research/TCS/pressure/monitor.sh
+++ b/
research/TCS/pressure/monitor.sh
@@
-1,4
+1,10
@@
#!/bin/bash
dir="/home/sam/Documents/University/honours/research/TCS/pressure"
cd $dir
#!/bin/bash
dir="/home/sam/Documents/University/honours/research/TCS/pressure"
cd $dir
-echo $(( $(date +%s) - $(date +%s --date=0000) )) $(./get_pressure.sh) $(date +%H%M%S) >> $(date +%F).dat
+p=$(./get_pressure.sh)
+echo $(( $(date +%s) - $(date +%s --date=0000) )) $p $(date +%H%M%S) >> $(date +%F).dat
+
+#update=$(( $(date +%M) % 60 ))
+#if [ "$update" == "0" ]; then
+# echo "Chamber pressure is $p mbar #pressure" | twidge update
+#fi
UCC
git Repository :: git.ucc.asn.au