toddlers: Adjust the cron command to debug it a little more

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-07-08 18:57:20 +02:00
parent b1acf6867c
commit ca09c79f91

View file

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