Skip to content

Commit

Permalink
Merge pull request #4066 from oliver-sanders/rec-doc
Browse files Browse the repository at this point in the history
cfg: document recurrence graph addition in config
  • Loading branch information
oliver-sanders committed Feb 12, 2021
2 parents 9279228 + f5b1753 commit 6176181
Showing 1 changed file with 35 additions and 4 deletions.
39 changes: 35 additions & 4 deletions cylc/flow/cfgspec/suite.py
Expand Up @@ -534,12 +534,43 @@
Example Recurrences:
date-time cycling:
``T00,T06,T12,T18`` or ``PT6H`` - *every six hours*
* ``R1`` - once at the intial cycle point
* ``T00,T06,T12,T18`` - daily at 00:00, 06:00, 12:00
& 18:00
* ``PT6H`` - every six hours starting at the initial
cycle point
integer cycling:
``P2`` - *every other cycle*
* ``R1`` - once at the intial cycle point
* ``P2`` - every other cycle
* ``P3,P5`` - every third or fifth cycle
See :ref:`GraphTypes` for more on recurrence expressions, and
how multiple graphs combine.
.. note::
Unlike other Cylc configurations duplicate recurrences
are additive and do not override.
For example this:
.. code-block:: cylc
[scheduling]
[[graph]]
R1 = a => b
R1 = c => d
Is equivalent to this:
.. code-block:: cylc
[scheduling]
[[graph]]
R1 = """
a => b
c => d
"""
See :ref:`GraphTypes` for more on recurrence expressions,
and how multiple graphs combine.
The value should be a dependency graph the given recurrence.
Syntax examples follow; see also :ref:`User Guide Scheduling`
Expand Down

0 comments on commit 6176181

Please sign in to comment.