myt/exporters/event.ejs

19 lines
482 B
Plaintext
Raw Normal View History

<%- begin %> <%- typeAndName %><%
if (params.type == 'RECURRING') { %>
ON SCHEDULE EVERY <%- params.intervalValue %> <%- params.intervalField %><%
if (params.starts) { %>
STARTS <%- params.starts %><%
2022-02-07 14:43:12 +00:00
}
if (params.ends) { %>
ENDS <%- params.ends %><%
2022-02-07 14:43:12 +00:00
}
} else { %>
ON SCHEDULE AT <%- params.executeAt %><%
} %>
ON COMPLETION <%- params.onCompletion %>
<%- params.status %><%
if (params.comment) { %>
COMMENT <%- params.comment %><%
2022-02-07 14:43:12 +00:00
} %>
DO <%- params.body %><%- end %>