siebertm / parse-cron

parses cron expressions and calculates the next occurence after a given date
MIT License
147 stars 57 forks source link

DOM doesn't recognise "?" #5

Open meetvijay2004 opened 11 years ago

meetvijay2004 commented 11 years ago

I think following is a valid cron expression: "50 21 ? * 3,6"

But cron-parser throws exception for it.

At the same time 50 21 * * 3,6

is invalid, but goes through without any exception.

siebertm commented 11 years ago

the ? character is non-standard, but patches for all missing notations are welcome. parse-cron works for what i need, so i most likely won't implement anything else myself (until i need something).

so, if you like to, feel free to contribute!

On Tue, Feb 12, 2013 at 4:41 PM, meetvijay2004 notifications@github.comwrote:

I think following is a valid cron expression: "50 21 ? * 3,6"

But cron-parser throws exception for it.

At the same time 50 21 * * 3,6

is invalid, but goes through without any exception.

— Reply to this email directly or view it on GitHubhttps://github.com/siebertm/parse-cron/issues/5.