Add TZ for consistent Celery timestamps

This commit is contained in:
Jan Dittberner 2023-02-20 15:41:16 +01:00
parent 866703d3aa
commit 2631a27c1c

View file

@ -5,7 +5,8 @@ set -e
QUEUE=ldap
TASKS=${QUEUE}tasks
APP=gvaldap
export TZ="Europe/Berlin"
. "/srv/${APP}/.venv/bin/activate"
cd /srv/${APP}/${APP}
celery -A "${TASKS}" worker -Q "${QUEUE}" -l info
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info