#!Jinja2
[scheduler]
{% if GLOBALCFG is not defined %}
    [[main loop]]
        [[[health check]]]
            interval = PT10S
{% endif %}{# not GLOBALCFG is not defined #}
    [[events]]
        abort on stall timeout = False
        stall timeout = PT0S

[scheduling]
    [[graph]]
        R1 = t1

[runtime]
    [[t1]]
        init-script = cylc__job__disable_fail_signals ERR EXIT
        script = """
cylc__job__wait_cylc_message_started
# Corrupt port file and don't report back to workflow
SRVD="${CYLC_WORKFLOW_RUN_DIR}/.service"
echo 'Haha! I have corrupted the port file!' >"${SRVD}/contact"
exit 1
"""
