Skip to content
Snippets Groups Projects
Commit 9aa99a94 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion :recycle:
Browse files

change cronjob weekly and try new conf for celery

parent bbde253f
No related branches found
No related tags found
No related merge requests found
Pipeline #35267 passed
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment