Debian Codegraph @

tests/functional/events/48-workflow-aborted/flow.cylc

raw
1 [scheduler]
2 [[main loop]]
3 [[[health check]]]
4 interval = PT1S
5 [[events]]
6 abort on inactivity timeout = true
7 inactivity timeout = PT1M
8 abort on stall timeout = true
9 stall timeout = PT1M
10 abort handlers = echo %(event)s %(message)s >"${CYLC_WORKFLOW_RUN_DIR}/handler.out"
11 [scheduling]
12 [[graph]]
13 R1 = modify => t2
14
15 [runtime]
16 [[modify]]
17 script = """
18 # Pause the workflow, so it does not shutdown
19 cylc pause "${CYLC_WORKFLOW_ID}"
20 # Extra content in workflow contact file should cause health check to fail
21 echo 'TIME=MONEY' >>"${CYLC_WORKFLOW_RUN_DIR}/.service/contact"
22 """
23 [[t2]]
24 script = true