Skip to content

Commit

Permalink
Merge pull request #1106 from amazeeio/bugfix/15-min-cronjob
Browse files Browse the repository at this point in the history
cronjobs every 15min generate a native CronJob Object
  • Loading branch information
Schnitzel authored May 28, 2019
2 parents 63e2a6c + 3fa02b6 commit 64d1a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/oc-build-deploy-dind/build-deploy-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64d1a36

Please sign in to comment.