Cronos icon indicating copy to clipboard operation
Cronos copied to clipboard

Issue with multiple days for MonthlyDoW

Open vintilabc opened this issue 7 years ago • 1 comments

Hi,

First of all, your library is awesome! I do however have issues with multiple days of week in the MontlyDoW schedule. 34 15 * 1,12 2#1,2#L is the cron string I'm using. Parsing fails with: Days of week: Unexpected character ','. Now if I leave a single value for days of week such as 34 15 * 1,12 2#1 it works as expected. Is there any way to make it work with multiple values?

Thanks. Bogdan

vintilabc avatar Nov 26 '18 14:11 vintilabc

Hi,

I have more general question: Can special characters be mixed with other regular numbers? For example, can I mix L with 1, to schedule run for the first and the last days of the month 0 0 1,L * *

Best regards, Illya

elijadar avatar Oct 15 '19 08:10 elijadar