From 2631a27c1cb6601ddce07cef4ab45d9d228e5b52 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Mon, 20 Feb 2023 15:41:16 +0100 Subject: [PATCH] Add TZ for consistent Celery timestamps --- gvaldap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gvaldap.sh b/gvaldap.sh index d4ddd33..3d1912c 100755 --- a/gvaldap.sh +++ b/gvaldap.sh @@ -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