[meta]
    title = "cylc hold --after"

    description = """One task that holds future cycles after a given cycle."""

[scheduler]
    UTC mode = True
    [[events]]
        abort on stall timeout = True
        stall timeout = PT0S

[scheduling]
    initial cycle point = 20140101T00
    final cycle point   = 20140104T00
    [[graph]]
        R1 = """
            stopper
            holdafter => foo
        """
        T00, T12 = foo[-PT12H] => foo => bar
[runtime]
    [[holdafter]]
        script = cylc hold --after '20140101T12' "${CYLC_WORKFLOW_ID}"
    [[stopper]]
        script = """
            cylc__job__poll_grep_workflow_log -E '20140101T1200Z/bar/01.* \(received\)succeeded'
            cylc stop "${CYLC_WORKFLOW_ID}"
        """
        [[[job]]]
            execution time limit = PT1M
    [[foo, bar]]
        script = true
