-
Notifications
You must be signed in to change notification settings - Fork 20
update defaults to define 4 generic timers #332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
update defaults to define 4 generic timers #332
Conversation
|
Now that Foreman core provides |
|
marked as draft, as core patch is not in yet |
58feb8e to
d0abe1e
Compare
|
@evgeni now that #288 is merged, we can look for this one and theforeman/foreman#10784? |
src/roles/foreman/defaults/main.yaml
Outdated
|
|
||
| - instance: ldap-refresh_usergroups | ||
| rake: "ldap:refresh_usergroups" | ||
| schedule: "*-*-* *:00,30:00" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be sufficient to run this hourly too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, yes.
Yes! |
d0abe1e to
9626807
Compare
src/roles/foreman/defaults/main.yaml
Outdated
| - instance: ldap-refresh_usergroups | ||
| rake: "ldap:refresh_usergroups" | ||
| schedule: "*-*-* *:00,30:00" | ||
| schedule: "hourly" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be now added to con:hourly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9626807 to
d052ec6
Compare
Depends on theforeman/foreman#10784
foreman_recurring_tasksdefaults to define 4 generictimers:
cron:hourlycron:dailycron:weeklycron:monthlyldap:refresh_usergroupsas a separate recurring job withits existing
OnCalendarexpression, since it runs every 30minutes and does not fit cleanly into the hourly/daily/weekly
buckets yet.