# test triggering an already active task
[scheduler]
    [[events]]
        inactivity timeout = PT1M
        abort on inactivity timeout = True
[scheduling]
    [[graph]]
        R1 = "triggeree:start & triggerer"
[runtime]
    [[triggerer]]
        script = """
            cylc__job__poll_grep_workflow_log "1/triggeree.* => running" -E
            cylc trigger "$CYLC_WORKFLOW_ID//1/triggeree"
            cylc__job__poll_grep_workflow_log \
                "Job already in process - ignoring trigger" -E
        """
    [[triggeree]]
        script = """
            cylc__job__poll_grep_workflow_log \
                "Job already in process - ignoring trigger" -E
        """
