auto scheduling cron script
parent
e2d45cb91a
commit
d0e74aa4fc
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue