toddlers: Adjust the command ran in the cron job

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-07-08 17:07:24 +02:00
parent bd2772ae35
commit 6e1ce7de3c

View file

@ -6,7 +6,7 @@ spec:
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
concurrencyPolicy: Forbid
schedule: "5 15 * * *"
schedule: "10 15 * * *"
startingDeadlineSeconds: 500
jobTemplate:
spec:
@ -19,7 +19,7 @@ spec:
containers:
- name: toddlers
image: docker-registry.default.svc:5000/toddlers/toddlers:latest
command: ["/code/toddlers/playtime", "packager_bugzilla_sync"]
command: ["/usr/bin/python3", "/code/toddlers/playtime", "packager_bugzilla_sync"]
env:
- name: PYTHONPATH
value: "/code"