tests/f/restart/23-hold-retry/flow.cylc
raw| 1 | [scheduler] |
| 2 | [[events]] |
| 3 | abort on stall timeout = True |
| 4 | stall timeout = PT0S |
| 5 | abort on inactivity timeout = True |
| 6 | inactivity timeout = P3M |
| 7 | [scheduling] |
| 8 | [[graph]] |
| 9 | R1 = t1 |
| 10 | [runtime] |
| 11 | [[t1]] |
| 12 | script = """ |
| 13 | if ((CYLC_TASK_TRY_NUMBER == 1)); then |
| 14 | cylc stop "${CYLC_WORKFLOW_ID}" |
| 15 | cylc kill "${CYLC_WORKFLOW_ID}//${CYLC_TASK_ID}" |
| 16 | sleep 120 # Should not matter because the job will be killed |
| 17 | fi |
| 18 | """ |
| 19 | [[[job]]] |
| 20 | execution retry delays = PT0S |