v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
taskBundles

Adds or updates a recurrence rule for a task template.

<Check title="Required Permissions" icon="key">The user must be an admin or have task-manage-config:write permissions.</Check>

post/tasktemplates/{taskTemplateId}/setrecurrency

Path parameters

taskTemplateIdstring uuid required

The id of the task template.

Headers

Authorizationstring required

Bearer authentication

Request body

recurrencyRulestring nullable

The recurrence rule as cron expression. We support all expressions which cronos supports (https://github.com/HangfireIO/Cronos). The number of occurrences is limited to 24 a day.

recurrencyIntervalinteger nullable

The interval of the executed expression. If the value is 3, only the third time of the expression the recurrence is actually executed.

relativeDueOninteger nullable

The relative due date and time of the task created from this recurrence rule, in seconds, from the moment of creating the task by a recurrence rule. Max value is 31540000 (1 year).

Response

No Content

object required