Skip to content

Running Celery

Requires Redis (REDIS_URL), Postgres, and decrypt-side AWS env vars on the worker.

celery -A src.celery_app worker -l INFO -c 1
celery -A src.celery_app beat -l INFO

Schedule

Beat registers enqueue_all_signoffs_if_needed for Sunday 08:30 America/Los_Angeles. The task itself no-ops unless the day is a biweekly Sunday from anchor 2025-12-21.

Manual decrypt check

export TEST_EMAIL=someone@example.com
python test_celery_decrypt.py --mode sync

Requires DB + decrypt KMS credentials. Prefer --email / TEST_EMAIL; do not hardcode personal addresses.

Signoff archive • Material for MkDocs