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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue