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>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

taskTemplateIdstringRequiredformat: "uuid"
The id of the task template.

Request

The model describing the recurrence rule to apply.
recurrencyRulestring or nullOptional

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 or nullOptional
The interval of the executed expression. If the value is 3, only the third time of the expression the recurrence is actually executed.
relativeDueOnlong or nullOptional

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).

Errors

400
Bad Request Error