New to Kestra?
Use blueprints to kickstart your first workflows.
Attach several cron schedules to a single parametrized Kestra flow, each injecting different input values, with retries, backfills, and full run history.
This blueprint shows how to attach multiple cron schedules to a single parametrized Kestra flow, where each schedule injects its own input values at runtime. Instead of duplicating a workflow once per cron expression, you keep one declarative definition and let several Schedule triggers drive it on independent cadences. This is the foundation for time-based orchestration patterns: hourly versus daily runs, environment-specific parameters, or the same logic exercised with different arguments on different clocks.
user of type STRING with a prefill of Data Engineer.hello task (io.kestra.plugin.core.log.Log) logs a greeting that interpolates {{ inputs.user }}, so the message reflects whatever value the run was started with.io.kestra.plugin.core.trigger.Schedule triggers are attached. The quarter_hourly trigger uses the cron */15 * * * * and passes only the name input. The every_minute trigger uses */1 * * * * and passes both name and a custom value.disabled: true so the flow does not start firing the moment you save it. You opt in by flipping disabled to false or removing the property.A raw crontab can fire a command on a timer, but it cannot pass structured inputs per schedule, retry on failure, backfill missed windows, or show you a searchable history of every execution. With Kestra the schedules live next to the logic they drive in plain YAML, each run is captured with its inputs and outputs for lineage, and you can pair these Schedule triggers with retries and concurrency limits. You also get backfills to replay past intervals on demand, something a bare scheduler simply does not offer.
This flow references no secrets.
user input, to confirm the log message renders.disabled: false (or deleting the property) on the triggers you want active.Log task with real work (an API call, a query, a transformation) while keeping the multi-schedule pattern.Schedule triggers for additional cadences or parameter sets.timezone to a schedule, or add conditions to restrict when it fires.