#!jinja2
[scheduler]
    [[events]]
        inactivity timeout = PT2S

[scheduling]
    [[graph]]
        R1 = foo

[runtime]
    [[foo]]
        script = """
            if [[ "${CYLC_TASK_SUBMIT_NUMBER}" == '1' ]]; then
                sleep 300
            fi
        """
        platform = {{ environ['CYLC_TEST_PLATFORM'] }}
        [[[job]]]
            execution time limit = PT5S
            execution retry delays = PT0S
