tibber-influx/start.sh
2024-08-17 21:30:24 +02:00

11 lines
254 B
Bash

#!/bin/bash
# Start the cron service
service cron start
# Run your main application script (pulse.py) in the background
python3 /pulse.py &
# Keep the container running and output both cron logs and pulse.py output
tail -f /var/log/cron.log &
wait -n