#!/usr/bin/env bash
set -euo pipefail
cd /home/bbl/html/w1hd-tracker/send
echo "$(date -Is) wrapper: starting python…" | tee -a ./sendBILL.run.log
# -u => unbuffered stdout/stderr from Python
PYTHONUNBUFFERED=1 exec ./venv/bin/python -u ./sendBILL.py "$@" 2>&1 | tee -a ./sendBILL.run.log
