HangfireIO / Cronos

A fully-featured .NET library for working with Cron expressions. Built with time zones in mind and intuitively handles daylight saving time transitions
MIT License
1.01k stars 118 forks source link

Support for value list separator in parts that start with */ #22

Open Never4GMS opened 4 years ago

Never4GMS commented 4 years ago

Hello.

Find the case CronExpression.Parse("* * * * */2,3") that fails with exception:

Minutes: Unexpected character ','.

And it not work at any position (minute, hour, etc.). Is it a bug? Or it's partial support for not standard special character / ?

markalanevans commented 4 years ago

Similar question. How do you use this to fire on the first and third wednesday. 6#1,3 does not work. Nor does 6#1,6#3

Should it? @odinserj

jbennink commented 1 year ago

Looks like this should work: “At every minute on every 2nd day-of-week and Wednesday.”