From 3fa02b6670ccd8f71c0a795a444e40a9957e834f Mon Sep 17 00:00:00 2001 From: Schnitzel Date: Tue, 28 May 2019 17:19:24 -0400 Subject: [PATCH] cronjobs every 15min generate a native CronJob Object --- images/oc-build-deploy-dind/build-deploy-docker-compose.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/oc-build-deploy-dind/build-deploy-docker-compose.sh b/images/oc-build-deploy-dind/build-deploy-docker-compose.sh index b771f80af6..91ab55aa6c 100755 --- a/images/oc-build-deploy-dind/build-deploy-docker-compose.sh +++ b/images/oc-build-deploy-dind/build-deploy-docker-compose.sh @@ -18,7 +18,7 @@ function cronScheduleMoreOftenThan15Minutes() { # Match found for M/xx, H/xx or */xx # Check if xx is smaller than 15, which means this cronjob runs more often than every 15 minutes. STEP=${BASH_REMATCH[2]} - if [ $STEP -le 15 ]; then + if [ $STEP -lt 15 ]; then return 0 else return 1