
Core Plugins and tasks Sleep
CertifiedPause execution for a duration.
Core Plugins and tasks Sleep
Certified
Pause execution for a duration.
Renders an ISO-8601 duration (e.g., PT5S) and sleeps before continuing. Useful for backoff, pacing, or demo timing.
yaml
type: io.kestra.plugin.core.flow.SleepExamples
yaml
id: sleep
namespace: company.team
tasks:
- id: sleep
type: io.kestra.plugin.core.flow.Sleep
duration: "PT5S"
Properties
duration *Requiredstring
Duration to sleep
The time duration in ISO-8601 format (e.g., PT5S for 5 seconds).
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.