Debian Codegraph @

tests/f/restart/25-hold-workflow/flow.cylc

raw
1 [scheduler]
2 UTC mode=True
3 cycle point format = %Y
4 [[events]]
5 abort on inactivity timeout = True
6 inactivity timeout = P2M
7 [scheduling]
8 initial cycle point = 2016
9 final cycle point = 2017
10 [[graph]]
11 P1Y = t1[-P1Y] => t1 => t2
12 [runtime]
13 [[t1]]
14 script = """
15 if [[ "${CYLC_TASK_CYCLE_POINT}" == '2016' ]]; then
16 cylc hold --after=1900 "${CYLC_WORKFLOW_ID}"
17 cylc stop "${CYLC_WORKFLOW_ID}"
18 fi
19 """
20 [[t2]]
21 script = true