How do you create Job Template Schedule Exceptions so that a job that is scheduled to run hourly will not run from 2:00 am and 3:00 am? I can’t seem to find a way in the UI.
any solution to this? I don’t understand why AWX isn’t using cron. it’s pretty lacking in this area.
Unfortunately, no. What I did was instead create five jobs that ran as follows:
- Every two hours, starting at 1 a.m., which captures all odd hours of the day.
- Every 12 hours, starting at 6 a.m.
- Every 12 hours, starting at 8 a.m.
- Every 12 hours, starting at 10 a.m.
- Every 24 hours, starting at 2 p.m.
This effectively bypasses the 2 a.m. maintenance window. However, I still have some jobs that run during that time at an interval less than hourly, which fail. Therefore, a solution that allows me to exclude a specific timeframe would be more optimal and highly desirable.
This is what we kind of came up with as well. It’s not ideal in terms of management and is disappointing