#!jinja2 [meta] title=Task Event Mail [scheduler] {% if GLOBALCFG is not defined %} [[mail]] footer = see: http://localhost/stuff/%(owner)s/%(workflow)s/ {% endif %}{# not GLOBALCFG is not defined #} [scheduling] [[graph]] R1=t1 [runtime] [[t1]] script=test "${CYLC_TASK_TRY_NUMBER}" -eq 2 [[[job]]] execution retry delays = PT5S {% if GLOBALCFG is not defined %} [[[events]]] mail events = failed, retry, succeeded {% endif %}{# not GLOBALCFG is not defined #}