Open mneumarkidg opened 6 years ago
A custom cron statement would work too, if we had the capability to build our own!
All schedules are done as recurrence rules - https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html.... it would need to work in that framework.
Conceptually, yes. There's no current support for it in the API/UI/scheduler, though.
Is this something that could be a feature request? This feature can reduce the amount of schedule tasks. As if someone needed to schedule something to run every hour except for certain hour(s). That wouldn't currently be possible without up to 23 individual scheduled tasks.
Sure, that's why I marked it as an enhancement.
Request to add advanced schedule options in Tower
SUMMARY Some users are requesting one of below options in Tower.
ISSUE TYPE Feature Idea
COMPONENT NAME UI / API
ADDITIONAL INFORMATION The user has an automated maintenance window each morning where some systems will patch and automatically restart, if required. The user wants to avoid Tower reporting connection problems or having failures mid-run by avoiding any scheduled jobs during this time. All job results are investigated by an Administrator, so being able to prevent new schedules starting during the maintenance window would reduce false-positive failures.
cron-type schedules are not planned.
Another customer has reported regarding this RFE.
blackout option on Tower UI: Keep the current UI but have a global "blackout" window in which Ansible won't start new schedules.
During the upgrade or maintenance, the customer requested that the scheduled jobs must not trigger any jobs. It is better to specify a time window like cron, however a manual operation can be accepted at least.
ISSUE TYPE
COMPONENT NAME
SUMMARY
Would be nice to have the ability to exclude dates, times, hours, or ... from scheduler. (Example Usage: static maintenance windows, exclude known times/dates)
ENVIRONMENT
EXPECTED RESULTS
Ability to exclude certain dates, times, hours, ....