Blueprints

Parametrized workflow with multiple schedules

Source

yaml
id: parametrized-flow-with-multiple-schedules
namespace: company.team

inputs:
  - id: user
    type: STRING
    defaults: Data Engineer
    required: false

tasks:
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: Hello {{ inputs.user }} from Kestra!

triggers:
  - id: quarter_hourly
    type: io.kestra.plugin.core.trigger.Schedule
    disabled: true
    cron: "*/15 * * * *"
    inputs:
      name: user

  - id: every_minute
    type: io.kestra.plugin.core.trigger.Schedule
    disabled: true
    cron: "*/1 * * * *"
    inputs:
      name: user
      value: custom value

About this blueprint

Variables Trigger Inputs Schedule

This flow takes a runtime-specific input and uses it to log a message to the console. The flow has two scheduled attached to it: - one that runs every 15 minutes with the default input parameter value - another one that runs every 1 minute with a custom input parameter value Note that both schedules are currently disabled. To start scheduling the flow, set the disabled property to false or delete that property entirely.

Log

Schedule

New to Kestra?

Use blueprints to kickstart your first workflows.

Get started with Kestra