-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: blueprint for schedule condition publicholiday (#34)
- Loading branch information
1 parent
6509b82
commit 8489ba2
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
id: schedule-condition-publicholiday | ||
namespace: company.team | ||
|
||
tasks: | ||
- id: hello | ||
type: io.kestra.plugin.core.log.Log | ||
message: Demo for PublicHoliday condition | ||
|
||
triggers: | ||
- id: schedule | ||
type: io.kestra.plugin.core.trigger.Schedule | ||
cron: "0 11 * * *" | ||
conditions: | ||
- type: io.kestra.plugin.core.condition.PublicHoliday | ||
country: FR | ||
|
||
extend: | ||
title: Executes flow on schedule trigger with PublicHoliday condition | ||
description: >- | ||
This trigger executes the flow at 11am every day with the schedule condition that the | ||
trigger date should fall on a public holiday of France, i.e. the flow will execute only | ||
on public holidays in France. | ||
With the PublicHoliday condition, you can enforce the condition for the flow to execute | ||
only on public holidays for a specific country. The PublicHoliday condition uses the | ||
[Jollyday](https://github.com/focus-shift/jollyday) library for public holiday calendar | ||
that supports more than 70 countries. | ||
tags: | ||
- Schedule | ||
- Trigger | ||
ee: false | ||
demo: true | ||
meta_description: This flow executes on schedule trigger with PublicHoliday condition. |