Commit 9aa99a94 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

change cronjob weekly and try new conf for celery

parent bbde253f
Pipeline #35267 passed with stages
in 3 minutes and 26 seconds
celery worker --app=metagenedb.celery_app:app --loglevel=info
\ No newline at end of file
......@@ -18,7 +18,8 @@ spec:
- name: celery-worker
image: $CI_REGISTRY_IMAGE/backend:${CI_COMMIT_REF_NAME}
imagePullPolicy: Always
command: ["bash", "-c", "'manage.py watch_celery'"]
args:
- /code/scripts/run_celery.sh
env:
- name: DATABASE_HOST
value: postgresql
......
......@@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: compute-statistics
spec:
schedule: "0 0 * * *"
schedule: "0 0 * * 0"
jobTemplate:
spec:
template:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment