Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Serverless Integrations
  • Comparing with other Yandex Cloud services
    • All guides
          • Using the management console, CLI, or API
          • On a timer
          • Via a link
        • Stopping a workflow execution
        • Terminating a workflow execution
    • Viewing operations with service resources
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Public materials
  • Release notes

In this article:

  • Adding a schedule
  • Removing a schedule
  1. Step-by-step guides
  2. Workflows
  3. Managing a workflow execution
  4. Starting a workflow execution
  5. On a timer

Scheduling a workflow to start on a timer

Written by
Yandex Cloud
Updated at April 13, 2026
  • Adding a schedule
  • Removing a schedule

You can add a schedule when creating or updating a workflow.

Adding a scheduleAdding a schedule

Management console
CLI
API
  1. In the management console, select the folder containing the workflow.
  2. Go to Serverless Integrations.
  3. In the left-hand panel, click Workflows.
  4. Click in the workflow row and select Edit.
  5. On the workflow diagram, click the Start section.
  6. Specify the schedule as a cron expression and select the time zone.
  7. Click Save.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id options.

  1. View the description of the CLI command for updating a workflow:

    yc serverless workflow update --help
    
  2. Get a list of workflows:

    yc serverless workflow list
    

    Result:

    workflows:
      - id: dfqdi6ic7c5j********
        folder_id: b1g681qpemb4********
        created_at: "2025-03-10T13:31:55.387059Z"
        name: workflow895
        status: ACTIVE
        log_options:
          folder_id: b1g681qpemb4********
      ...
      - id: dfqud9cbc4k5********
        folder_id: b1g681qpemb4********
        created_at: "2025-03-10T12:57:48.679682Z"
        name: workflow203
        status: ACTIVE
        log_options:
          folder_id: b1g681qpemb4********
    
  3. Add a schedule:

    yc serverless workflow update <workflow_name_or_ID> \
      --schedule-cron-expression "<cron_expression>" \
      --schedule-timezone "<time_zone>"
    

    Where:

    • --schedule-cron-expression: Cron expression, e.g., "0 * * * * *". Learn more about the cron expression format here.
    • --schedule-timezone: Time zone, e.g., Europe/Moscow.

    Result:

    id: dfqai557kgv0********
    folder_id: b1g681qpemb4********
    specification:
      spec_yaml: ...
    created_at: "2025-09-19T09:11:38.826207Z"
    name: cron-flow
    status: ACTIVE
    log_options:
      folder_id: b1g681qpemb4********
    service_account_id: ajelprpohp7r********
    schedule:
      cron_expression: 0 * * * * *
      timezone: Europe/Moscow
    

Use the Update REST API method for the Workflows resource or the workflow/Update gRPC API call. In the schedule field, provide the schedule and specify the time zone.

Removing a scheduleRemoving a schedule

Management console
CLI
API
  1. In the management console, select the folder containing the workflow.
  2. Go to Serverless Integrations.
  3. In the left-hand panel, click Workflows.
  4. Click in the workflow row and select Edit.
  5. On the workflow diagram, click the Start section.
  6. Remove the schedule.
  7. Click Save.
  1. View the description of the CLI command for updating a workflow:

    yc serverless workflow update --help
    
  2. Get a list of workflows:

    yc serverless workflow list
    

    Result:

    workflows:
      - id: dfqdi6ic7c5j********
        folder_id: b1g681qpemb4********
        created_at: "2025-03-10T13:31:55.387059Z"
        name: workflow895
        status: ACTIVE
        log_options:
          folder_id: b1g681qpemb4********
      ...
      - id: dfqud9cbc4k5********
        folder_id: b1g681qpemb4********
        created_at: "2025-03-10T12:57:48.679682Z"
        name: workflow203
        status: ACTIVE
        log_options:
          folder_id: b1g681qpemb4********
    
  3. Remove a schedule:

    yc serverless workflow update <workflow_name_or_ID> \
      --remove-schedule
    

    Result:

    id: dfqai557kgv0********
    folder_id: b1g681qpemb4********
    specification:
      spec_yaml: ...
    created_at: "2025-09-19T09:11:38.826207Z"
    name: cron-flow
    status: ACTIVE
    log_options:
      folder_id: b1g681qpemb4********
    service_account_id: ajelprpohp7r********
    

Use the Update REST API method for the Workflows resource or the workflow/Update gRPC API call. In the schedule field, specify null.

See alsoSee also

  • Workflow execution
  • Getting a list of workflow executions

Was the article helpful?

Previous
Using the management console, CLI, or API
Next
Via a link
© 2026 Direct Cursus Technology L.L.C.