fix: send-reminder cron

This commit is contained in:
2026-07-17 18:21:34 +02:00
parent 0277502e47
commit a66d8f9e8e
4 changed files with 19 additions and 32 deletions
-16
View File
@@ -1,16 +0,0 @@
#!/usr/bin/env bash
# Wrapper for the reminder cron job. Cron runs with almost no environment, so the
# settings (and the VAPID keys) have to be loaded explicitly.
set -euo pipefail
PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$PROJECT_DIR"
if [ -f .env ]; then
set -a
# shellcheck disable=SC1091
. ./.env
set +a
fi
exec "${UV:-uv}" run --no-sync python manage.py send_reminders "$@"