Schedule type Cron: Unable to schedule for specific day of the week #40704
-
TopicCron expression parsing issue Relevant informationA parsing error occurs, when entering a particular format of a Cron expression: When trying to configure a connection with the following Cron expression
with the following console output:
The parsing issue also occurs when writing Occurs on airbyte 0.63.3 running on Docker. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi there, since we use Quartz syntax, there are some nuances with how cron expressions are written. Here are a few examples of expressions that are valid:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @nataliekwong - that did the trick! So in my particular example, the correct value which gets accepted would be |
Beta Was this translation helpful? Give feedback.
-
@nataliekwong It's worth noting that while this is covered in the docs, it should probably be noted in the UI (even if that just surfaces that it uses Quartz syntax and links to the docs page). I think most people who are familiar with cron syntax will expect UNIX-style, and those who aren't won't be able to Google the correct answer very easily without having that context. (Some other settings screens already have the info-icon tooltip, but there's no contextual help or docs on this screen at all.) |
Beta Was this translation helpful? Give feedback.
Thanks @nataliekwong - that did the trick!
So in my particular example, the correct value which gets accepted would be
0 0 15 ? * 1
instead of0 0 15 * * 1
.