| 1 |
[scheduler] |
| 2 |
[[events]] |
| 3 |
abort on stall timeout = True |
| 4 |
stall timeout = PT30S |
| 5 |
[scheduling] |
| 6 |
[[graph]] |
| 7 |
R1 = """ |
| 8 |
foo:fail? => bar |
| 9 |
foo? & bar => baz |
| 10 |
""" |
| 11 |
|
| 12 |
[runtime] |
| 13 |
[[foo]] |
| 14 |
script = """ |
| 15 |
echo "${CYLC_TASK_SUBMIT_NUMBER}" \ |
| 16 |
>>"${CYLC_WORKFLOW_RUN_DIR}/foo-submits.txt" |
| 17 |
# bash 4.2.0 bug: ((VAR == VAL)) does not trigger 'set -e': |
| 18 |
test "${CYLC_TASK_SUBMIT_NUMBER}" -gt "${CYLC_TASK_TRY_NUMBER}" |
| 19 |
""" |
| 20 |
[[[job]]] |
| 21 |
execution retry delays=2*PT0S |
| 22 |
[[bar]] |
| 23 |
script = cylc trigger "${CYLC_WORKFLOW_ID}//1/foo" |
| 24 |
[[baz]] |
| 25 |
script = """ |
| 26 |
printf "%d\n" {1..4} | cmp - "${CYLC_WORKFLOW_RUN_DIR}/foo-submits.txt" |
| 27 |
""" |