Commit 134031bb authored by Demo User's avatar Demo User
Browse files

adds shell script, updates time signature

parent 079c50f9
#ntpdate -b
cd /home/debian/lidar/
if [ -e $logfile ]; then
touch $logfile
NOW=$(date +"lidar_%Y_%m_%d_%T")
NOW2=$(echo $NOW | tr : _)
WRITE="Starting at "
echo $WRITE$NOW2 >> log.txt
echo "Running"
./get_distance -e &> /media/card/FieldScience/lidar/$NOW2.dat
#./get_distance -e |& tee -a /media/sd0/lidar/$NOW2.dat
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment