radiosonde_auto_rx/auto_rx/auto_rx.sh

20 wiersze
488 B
Bash
Executable File

#!/bin/bash
# Radiosonde Auto-RX Script
#
# 2017-04 Mark Jessop <vk5qi@rfhead.net>
#
# NOTE: If running this from crontab, make sure to set the appropriate PATH env-vars,
# else utilities like rtl_power and rtl_fm won't be found.
#
# WARNING - THIS IS DEPRECATED - PLEASE USE THE SYSTEMD SERVICE
#
# change into appropriate directory
cd /home/pi/radiosonde_auto_rx/auto_rx/
# Clean up old files
rm log_power*.csv
# Start auto_rx process with a 3 hour timeout.
python auto_rx.py -t 180