tests/f/cylc-set/05-expire/flow.cylc
raw| 1 | # Expire an inactive task, so it won't run. |
| 2 | |
| 3 | [scheduler] |
| 4 | [[events]] |
| 5 | inactivity timeout = PT1M |
| 6 | abort on inactivity timeout = True |
| 7 | stall timeout = PT0S |
| 8 | abort on stall timeout = True |
| 9 | |
| 10 | [scheduling] |
| 11 | [[graph]] |
| 12 | R1 = """ |
| 13 | # bar and baz should not run if bar expires |
| 14 | expirer => foo => bar? => baz |
| 15 | bar:expired? |
| 16 | """ |
| 17 | [runtime] |
| 18 | [[expirer]] |
| 19 | script = """ |
| 20 | cylc set --output=expired ${CYLC_WORKFLOW_ID}//1/bar |
| 21 | """ |
| 22 | [[foo]] |
| 23 | [[bar, baz]] |
| 24 | script = false |