From ca09c79f913fcb3e7d95cc600a4751bcbc0a4413 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 08 2020 16:57:20 +0000 Subject: toddlers: Adjust the cron command to debug it a little more Signed-off-by: Pierre-Yves Chibon --- diff --git a/roles/openshift-apps/toddlers/templates/cron_playtime.yml b/roles/openshift-apps/toddlers/templates/cron_playtime.yml index 10e7f67..888f82f 100644 --- a/roles/openshift-apps/toddlers/templates/cron_playtime.yml +++ b/roles/openshift-apps/toddlers/templates/cron_playtime.yml @@ -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"