[scheduler] [[events]] abort on stall timeout = True stall timeout = PT0S abort on inactivity timeout = True inactivity timeout = PT3M [scheduling] cycling mode = integer initial cycle point = 1 [[graph]] R1/1 = """ foo:fail? => bar foo? & bar => restart """ R1/2 = """ restart[-P1] => foo? foo:fail? => bar foo? & bar => pub """ [runtime] [[foo]] script = false [[bar]] script = """ cylc set --output=succeeded \ "${CYLC_WORKFLOW_ID}//${CYLC_TASK_CYCLE_POINT}/foo" """ [[restart]] script = """ cylc stop "${CYLC_WORKFLOW_ID}" """ [[pub]] script = """ # Extract timestamp lines from logs for file in $(find "${CYLC_WORKFLOW_RUN_DIR}/log/schedulerr/" -name '*.*'); do grep '.*-.*-.*' "${file}" | sort -u || true done | sort | uniq -d > 'log-duplication' """