Skip to content

Commit

Permalink
Merge pull request #759 from oliver-sanders/combine-exclusions
Browse files Browse the repository at this point in the history
combine exclusion sections
  • Loading branch information
oliver-sanders authored Sep 26, 2024
2 parents 47b06f6 + 61122e3 commit fa3f129
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/user-guide/writing-workflows/scheduling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,15 @@ This graph can be written more concisely, with the same result, like this:
T06,T18 = "C => X"
Excluding Dates
^^^^^^^^^^^^^^^
.. _user_guide.scheduling.exclusions:

Exclusions
^^^^^^^^^^

Exclusions allow you to subtract dates or recurrences from a cycling section
using the exclamation mark symbol (!).

.. rubric:: Excluding Dates

:term:`datetimes <ISO 8601 datetime>` can be excluded from a :term:`recurrence`
by an exclamation mark for example ``PT1D!20000101`` means run daily except on
Expand Down Expand Up @@ -671,8 +678,7 @@ workflow ``foo`` will only run once as its second run is excluded.
[[graph]]
R2/P1D!20000102 = foo
Excluding Recurrences
^^^^^^^^^^^^^^^^^^^^^
.. rubric:: Excluding Recurrences

Exclusions may themselves be datetime recurrence sequences. Any partial
datetime or sequence after the exclamation mark will be excluded from the main
Expand Down

0 comments on commit fa3f129

Please sign in to comment.