later icon indicating copy to clipboard operation
later copied to clipboard

Issue with parsing "0 0 6 ? * 2,3,4,5,6,7,1 *"

Open rajeshwarpatlolla opened this issue 6 years ago • 1 comments

The cron string(quartz type) should give the result related to At 06:00 AM, only on Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, and Monday, but it is giving me wrong output as shown in the image.

screen shot 2018-05-20 at 1 36 58 pm

I am using later.parse.cron("0 0 6 ? * 2,3,4,5,6,7,1 *") to parse the cron string.

rajeshwarpatlolla avatar May 20 '18 08:05 rajeshwarpatlolla

try this - later.parse.cron("0 0 6 ? * 2,3,4,5,6,7,1 *", true)

priyesh2609 avatar May 29 '20 05:05 priyesh2609