[scheduler]
    [[events]]
        abort on stall timeout = True
        stall timeout = PT0S
        abort on inactivity timeout = True
        inactivity timeout = PT1M

[scheduling]
    [[graph]]
        R1 = t1:finish => t2

[runtime]
    [[t1]]
        init-script = cylc__job__disable_fail_signals ERR EXIT
        script = """
sleep 1
cylc stop --now --now "${CYLC_WORKFLOW_ID}"
exit 1
"""
        [[[events]]]
            started handlers = sleep 10 && echo 'Hello %(id)s %(event)s'
            succeeded handlers = echo 'Well done %(id)s %(event)s'
    [[t2]]
        script = true
