stvid/scripts/stvid-loop

28 lines
360 B
Bash
Executable File

#!/bin/bash
# CRUFTY alert. So bad.
# Run acquire in a loop, creating a new directory
# every hour.
# Check ~/logs/ for output.
set -x
mount -a
mkdir -p ~/log
cd ~/devel/spacecruft/stvid
source env/bin/activate
./update_tle.py
./scripts/tiscamera-set
while true
do date
./acquire.py -t 3600
done \
1>>~/log/acquire.log \
2>>~/log/acquire.err &