Delete a time-based schedule

更新时间:
复制 MD 格式

This topic describes how to delete a time-based schedule in the Serverless Workflow console or by using Alibaba Cloud CLI.

Prerequisites

Create a time-based schedule

Delete a time-based schedule in the Serverless Workflow console

  1. Log on to the Serverless Workflow console.

  2. On the Flows page, find the workflow for which you want to create a time-based schedule and click the name of the workflow in the Name column.

    workflow-name

  3. On the Flows page, click Schedule.

  4. On the Schedule tab, find the time-based schedule and click Delete in the Action column.

  5. In the Delete Schedule message, click OK.

Delete a time-based schedule by using Alibaba Cloud CLI

You must install and configure Alibaba Cloud CLI Before you use it. For more information, see What is Alibaba Cloud CLI

  1. Optional: Run the following command to view the request parameters of the operation:

    aliyun fnf DeleteSchedule help

    Expected output:

    Alibaba Cloud Command Line Interface Version 3.0.45
    Product: fnf (FunctionFlow)
    Link:    https://xxxxxx.html
    Parameters:
      --FlowName     String  Required
      --ScheduleName String  Required
      --RequestId    String  Optional
  2. Run the following command to delete a time-based schedule:

    aliyun fnf DeleteSchedule --FlowName test --ScheduleName schedule-test

    Expected output:

    {
        "RequestId": "c11629d3-7087-8ec8-5682-8254dbf14fce"
    }