| 1 |
[scheduler] |
| 2 |
UTC mode = True |
| 3 |
[[events]] |
| 4 |
stall timeout = PT0.2M |
| 5 |
abort on stall timeout = True |
| 6 |
|
| 7 |
[scheduling] |
| 8 |
initial cycle point = 2010-01-01 |
| 9 |
final cycle point = 2010-01-05 |
| 10 |
runahead limit = P1 # marker |
| 11 |
[[graph]] |
| 12 |
# oops is stuck waiting task to hold back runahead |
| 13 |
R1/T00 = "foo & reloader => oops" |
| 14 |
T00/PT6H = "foo => bar" |
| 15 |
|
| 16 |
[runtime] |
| 17 |
[[foo]] |
| 18 |
script = false |
| 19 |
[[bar, oops]] |
| 20 |
script = true |
| 21 |
[[reloader]] |
| 22 |
script = """ |
| 23 |
cylc__job__poll_grep_workflow_log -E "${CYLC_TASK_CYCLE_POINT}/foo/01:running.*failed" |
| 24 |
perl -pi -e 's/(runahead limit = )P1( # marker)/\1 P3\2/' $CYLC_WORKFLOW_RUN_DIR/flow.cylc |
| 25 |
cylc reload $CYLC_WORKFLOW_ID |
| 26 |
""" |