How to use [tasks.execute]

The reference page of tasks.execute has its arguments, constraints and declaration.

You can explicitly execute a persisted task by invoking [tasks.execute] and pass in the ID of your task. Below is an example, that assumes you have created the above “foo-bar-task-4” task first.

tasks.execute:foo-bar-task-4

Notice, if you try to execute a non-existing task, an exception will be thrown.