DelayedExecution
Pause a pipeline for a period of time or until a specified time. You can manually resume or stop a pipeline, or delay the execution for a maximum of three times.
Adding the Extension with GUI
Add the DelayedExecution extension when you orchestrate a pipeline. Set parameters as shown in Table 1.
Parameter |
Description |
---|---|
Name |
Extension name, which can be customized.
|
Delay By |
Delayed execution mode. You can set Duration or Scheduled time. |
Duration |
Duration of the delayed execution. You can configure a value. |
Scheduled time |
Time when a delayed pipeline restarts from. You can configure a value. |
Time zone |
Select a time zone. |
Adding the Extension with YAML
Add the DelayedExecution extension when you orchestrate a pipeline. Configure the YAML syntax as follows:
- DelayedExecution
uses: Delay with: timerType: delay|scheduled delayTime: 300 scheduledTime: '00:00' timeZone: China Standard Time
- timerType: Delay type. delay indicates pausing a pipeline for a period of time. scheduled indicates pausing a pipeline until a specified time.
- delayTime: Time duration (in seconds) when timerType is set to delay.
- scheduledTime: Exact time when timerType is set to scheduled.
- timeZone: Time zone.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot