auto scheduling cron script

master
jebba 2019-11-24 17:08:37 -07:00
parent e2d45cb91a
commit d0e74aa4fc
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
#!/bin/bash
# Schedule observations.
# Run from cron typically
# Run thusly:
# spacecruft-sched-obs [station ID]
# Example:
# spacecruft-sched-obs 1133
STATION="$1"
SCHEDDIR=/home/jebba/devel/spacecruft/satnogs-auto-scheduler
# In hours:
DURATION=8
cd $SCHEDDIR
./schedule_single_station.py \
--duration="$DURATION" \
--station="$STATION"