Skip to content
Snippets Groups Projects
Commit 1b820ba6 authored by Doug Wiegley's avatar Doug Wiegley
Browse files

Fix typo referencing '17', and provide an example randomizer

Change-Id: I037323c17efd736ff59591200bcffeebd5450cdf
parent 045a51ab
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,12 @@ cron: ...@@ -8,7 +8,12 @@ cron:
# TODO: Please choose a random hour for nodepool image updates. # TODO: Please choose a random hour for nodepool image updates.
# This will help reduce the load on upstream git farms & mirros where all 3rd # This will help reduce the load on upstream git farms & mirros where all 3rd
# party ci systems start building images at the same time. # party ci systems start building images at the same time.
# Doing so is easy: update the first '17' below with a random number between 0 to 23 # Doing so is easy, run the following command and replace image-update string
# with the results:
# echo "0 $((RANDOM%23+1)) * * *"
# Example:
# root@jenkins:~# echo "0 $((RANDOM%23+1)) * * *"
# 0 16 * * *
# This references the hour of the day when images will be built. # This references the hour of the day when images will be built.
image-update: '0 0 * * *' image-update: '0 0 * * *'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment