Source
yaml
id: schedule-condition-weekend
namespace: company.team
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
message: Demo for Weekend condition
triggers:
- id: schedule
type: io.kestra.plugin.core.trigger.Schedule
cron: "0 11 * * *"
conditions:
- type: io.kestra.plugin.core.condition.Weekend
About this blueprint
Trigger Schedule
This trigger executes the flow at 11am every day with the schedule condition that the trigger date should fall on a weekend, i.e. either on a Saturday or a Sunday. With the Weenkend condition, you can enforce the condition for the flow to execute only on a weekend.
More Related Blueprints