#!/bin/sh # Cron loop — calls the meal-tracker API every 60s to trigger reminders. # The Flask endpoint handles all timezone logic and ntfy sending. while true; do wget -q -O- --post-data="" \ --header="X-Cron-Secret: ${CRON_SECRET}" \ http://meal-tracker:5000/api/cron-tick 2>/dev/null sleep 60 done