Using API to schedule task or plan runs

Use schedule dedicated API endpoints to easily arrange how and when a task or plan can be executed with multiple triggers.

The following sections describe how to schedule task runs for demonstration purposes. The same workflow applies to plans, too.

The whole lifecycle of a schedule is also demonstrated at the same time.

Note that schedule updates that are made within three minutes prior to the scheduled execution time immediately impact the execution. For this reason, avoid making schedule changes when an execution is about to be triggered.