Add TZ for consistent Celery timestamps
This commit is contained in:
parent
866703d3aa
commit
2631a27c1c
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ set -e
|
||||||
QUEUE=ldap
|
QUEUE=ldap
|
||||||
TASKS=${QUEUE}tasks
|
TASKS=${QUEUE}tasks
|
||||||
APP=gvaldap
|
APP=gvaldap
|
||||||
|
export TZ="Europe/Berlin"
|
||||||
|
|
||||||
. "/srv/${APP}/.venv/bin/activate"
|
. "/srv/${APP}/.venv/bin/activate"
|
||||||
cd /srv/${APP}/${APP}
|
cd /srv/${APP}/${APP}
|
||||||
celery -A "${TASKS}" worker -Q "${QUEUE}" -l info
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info
|
||||||
|
|
Loading…
Reference in a new issue