# AWX - Exclude day's in the schedule

**URL:** <https://forum.ansible.com/t/awx-exclude-days-in-the-schedule/37822>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 29, 2023, 9:07am UTC](https://forum.ansible.com/t/awx-exclude-days-in-the-schedule/37822 "2023-03-29T09:07:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan3](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@Johan3](https://forum.ansible.com/u/Johan3)\
**Post date:** [March 29, 2023, 9:07am UTC](https://forum.ansible.com/t/awx-exclude-days-in-the-schedule/37822/1 "2023-03-29T09:07:50Z")

</div>

Hi all,

I am wondering in version AWX 21.0.0 is it possible there to do the following

I want to have my batch run from Monday till friday, but not on second day of Easther, 1ste of May and both Christmas day’s

Is this way of complex scheduling already possible in this version of AWX ?

Kind regards,  
Johan.

---

<div class="post-metadata">

**Author:** ![kdelee](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kdelee/32/193_2.png) [@kdelee](https://forum.ansible.com/u/kdelee)\
**Post date:** [March 29, 2023, 9:45am UTC](https://forum.ansible.com/t/awx-exclude-days-in-the-schedule/37822/2 "2023-03-29T09:45:41Z")

</div>

Johan,

I’m not sure if our UI helps you create such a complex rule, but as far as I know any valid “RRULE” can be used if you create/edit the schedule via the API.

[https://dateutil.readthedocs.io/en/stable/rrule.html](https://dateutil.readthedocs.io/en/stable/rrule.html) is a python library for creating/parsing RRULE format.

For example, an RRULE can look like:

“DTSTART:20200609T093807Z RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE”

---

<div class="post-metadata">

**Author:** ![Johan3](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@Johan3](https://forum.ansible.com/u/Johan3)\
**Post date:** [March 30, 2023, 5:02pm UTC](https://forum.ansible.com/t/awx-exclude-days-in-the-schedule/37822/3 "2023-03-30T17:02:37Z")

</div>

Does anyone knows if this has been officially released and how to install it ?

[https://github.com/ansible/awx/pull/12778](https://github.com/ansible/awx/pull/12778)

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 31, 2023, 5:49pm UTC](https://forum.ansible.com/t/awx-exclude-days-in-the-schedule/37822/4 "2023-03-31T17:49:08Z")

</div>

Johan, that pull request has been merged, so it is certainly AWX version (21.14.0)

Try upgrading to latest AWX to check out that feature [https://github.com/ansible/awx-operator#upgrading](https://github.com/ansible/awx-operator#upgrading)

AWX Team
