diff --git a/doc/source/developer/webapi/v2.rst b/doc/source/developer/webapi/v2.rst index 13e0b6ae..80b5398b 100644 --- a/doc/source/developer/webapi/v2.rst +++ b/doc/source/developer/webapi/v2.rst @@ -118,6 +118,21 @@ When a Task starts Mistral creates a set of Action Executions. So Action Executi .. rest-controller:: mistral.api.controllers.v2.action_execution:TasksActionExecutionController :webprefix: /v2/tasks +Cron Triggers +----------------- + +Cron trigger is an object that allows to run Mistral workflows according to a time pattern (Unix crontab patterns format). Once a trigger is created it will run a specified workflow according to its properties: pattern, first_execution_time and remaining_executions. + + +.. autotype:: mistral.api.controllers.v2.cron_trigger.CronTrigger + :members: + +.. autotype:: mistral.api.controllers.v2.cron_trigger.CronTriggers + :members: + +.. rest-controller:: mistral.api.controllers.v2.cron_trigger:CronTriggersController + :webprefix: /v2/cron_triggers + Environments ------------