From 2f85d0944e69042a7100ab10eb127255f9c28692 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 23 Jul 2024 16:16:14 -0700 Subject: [PATCH] Test the limits of acceptably horrible cronjobs --- sync/openshift.deploy.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sync/openshift.deploy.yml b/sync/openshift.deploy.yml index 858901ab0..441d658d0 100644 --- a/sync/openshift.deploy.yml +++ b/sync/openshift.deploy.yml @@ -27,10 +27,6 @@ parameters: value: "false" ### Usually a bad idea - not recommended - # - name: CRON_MINUTES - # description: Random number, 0-60, for scheduling cronjobs - # from: "[0-5]{1}[0-9]{1}" - # generate: expression - name: JOB_BACKOFF_LIMIT description: "The number of attempts to try for a successful job outcome" value: "3" @@ -53,8 +49,7 @@ objects: app: ${REPO}-${ZONE} cronjob: ${REPO}-${ZONE} spec: - # schedule: "${CRON_MINUTES} 8 * * *" # Run daily at 8:xx AM UTC - schedule: "0 0 0 0 0" # Never runs automatically + schedule: "1 2 3 12/1000000000 *" # https://crontab.guru/#1_2_3_12/1000000000_* startingDeadlineSeconds: 60 concurrencyPolicy: "Replace" successfulJobsHistoryLimit: "${{JOB_HISTORY_SUCCESS}}"