| 1 |
[scheduler] |
| 2 |
[[events]] |
| 3 |
abort on stall timeout = True |
| 4 |
stall timeout = PT2M |
| 5 |
|
| 6 |
[scheduling] |
| 7 |
[[graph]] |
| 8 |
R1 = foo |
| 9 |
|
| 10 |
[runtime] |
| 11 |
[[foo]] |
| 12 |
script = """ |
| 13 |
# wait for the started message to be received |
| 14 |
cylc__job__poll_grep_workflow_log -E 'foo.*running' |
| 15 |
|
| 16 |
# remove the out/err files |
| 17 |
rm "${CYLC_TASK_LOG_DIR}/job.out" |
| 18 |
rm "${CYLC_TASK_LOG_DIR}/job.err" |
| 19 |
|
| 20 |
# stop the workflow, orphaning this job |
| 21 |
cylc stop --now --now "${CYLC_WORKFLOW_ID}" 2>/dev/null >/dev/null |
| 22 |
|
| 23 |
# suppress any subsequent messages |
| 24 |
rm "${CYLC_WORKFLOW_RUN_DIR}/.service/contact" |
| 25 |
""" |