Files
NWC2026-AstropotaPOD/add_to_cron.sh
T
2026-09-06 12:08:05 -04:00

12 lines
320 B
Bash
Executable File

#!/bin/sh
# Updates our crontab file so that it has all the stuff we need
cat << EOF | crontab
# Updates Nagios day/night time includes for current seasonal sunrise/sunset
01 00 * * * \${HOME}/NWC2026-AstropotaPOD/daynight.sh
# MQTT Stats from PPBA
* * * * * \${HOME}/NWC2026-AstropotaPOD/AstropotaPOD.sh --stats
EOF