Adds autostart script for mobile mesurements
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
WORKING_DIR="/home/prause/measurement-scripts/"
|
||||
NEW_DIR="/home/prause/mobile_measurements/$(date +%F_%H-%M-%S)/"
|
||||
DATE=$(date +%F_%H-%M-%S)
|
||||
NEW_DIR="/home/prause/mobile_measurements/$DATE/"
|
||||
|
||||
export PIPENV_VENV_IN_PROJECT=1
|
||||
mkdir $NEW_DIR
|
||||
@@ -13,5 +14,5 @@ pipenv run pipenv run ./measurement_main.py -c 130.75.73.69 \
|
||||
--serial /dev/ttyUSB2 \
|
||||
-n 10 \
|
||||
--folder $NEW_DIR \
|
||||
--prefix automated \
|
||||
--prefix automated_$DATE \
|
||||
-i wwan0
|
||||
|
||||
Reference in New Issue
Block a user