[scheduler]
    UTC mode = True
    cycle point format = %Y
[scheduling]
    [[graph]]
        R1 = foo => bar
[runtime]
    [[foo]]
        script="""
cylc__job__wait_cylc_message_started
sleep 1
cylc stop --now --now "${CYLC_WORKFLOW_ID}"
sleep 60
"""
        [[[events]]]
            execution timeout = PT10S
            handlers = echo %(id)s %(event)s
            handler events = execution timeout
    [[bar]]
        script=true
