diff --git a/roles/koji_builder/templates/osbuildapi-update.cron b/roles/koji_builder/templates/osbuildapi-update.cron index 9872862d63..fb0e910f58 100644 --- a/roles/koji_builder/templates/osbuildapi-update.cron +++ b/roles/koji_builder/templates/osbuildapi-update.cron @@ -1,5 +1,5 @@ -{% if inventory_hostname.startswith('buildhw-x86') } +{% if inventory_hostname.startswith('buildhw-x86') %} */5 * * * * root /usr/local/bin/lock-wrapper osbuildapi "/usr/local/bin/osbuildapi-update.sh" 2>&1 | /usr/local/bin/nag-once osbuildapi-update.sh 1d 2>&1 -{% else } +{% else %} 23 17 * * * root /usr/local/bin/lock-wrapper osbuildapi "/usr/local/bin/osbuildapi-update.sh" 2>&1 | /usr/local/bin/nag-once osbuildapi-update.sh 1d 2>&1 {% endif %}