2017-04-29 14:06:47 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Radiosonde Auto-RX Script
|
2017-04-30 04:41:09 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2023-07-15 02:04:17 +00:00
|
|
|
# WARNING - THIS IS DEPRECATED - PLEASE USE THE SYSTEMD SERVICE OR DOCKER IMAGE
|
|
|
|
# See: https://github.com/projecthorus/radiosonde_auto_rx/wiki#451-option-1---operation-as-a-systemd-service-recommended
|
|
|
|
# Or: https://github.com/projecthorus/radiosonde_auto_rx/wiki/Docker
|
2018-05-26 09:18:53 +00:00
|
|
|
#
|
2017-04-30 04:41:09 +00:00
|
|
|
|
|
|
|
# change into appropriate directory
|
2020-12-09 09:09:40 +00:00
|
|
|
cd $(dirname $0)
|
2017-04-30 04:41:09 +00:00
|
|
|
|
|
|
|
# Clean up old files
|
2018-05-26 09:18:53 +00:00
|
|
|
rm log_power*.csv
|
2017-04-29 14:06:47 +00:00
|
|
|
|
2023-07-15 02:04:17 +00:00
|
|
|
python3 auto_rx.py -t 180
|