You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "0 0 0 ? * Mon/2" should be a valid cron string which should be triggered every two weeks on Monday.
In Quartz 2.5, it works fine.
Actual behavior
The exception is thrown
System.FormatException: 'Illegal characters for this position: 'MON''
Steps to reproduce
varcron_expr="0 0 0 ? * Mon/2";
CronExpression.IsValidExpression(cron_expr);// should be true, but return false
The text was updated successfully, but these errors were encountered:
guotuofeng
changed the title
The " "0 0 0 ? * Mon/2" is an valid cron string with quartz 3.0.1
The " "0 0 0 ? * Mon/2" is an invalid cron string with quartz 3.0.1
Jan 22, 2018
guotuofeng
changed the title
The " "0 0 0 ? * Mon/2" is an invalid cron string with quartz 3.0.1
The "0 0 0 ? * Mon/2" is an invalid cron string with quartz 3.0.1
Jan 23, 2018
I believe this did parse as valid in 2.x but did never obey the every second week rule. This is why the validation now throws error as it's not supported.
Quartz.net 3.0.1
Expected behavior
The "0 0 0 ? * Mon/2" should be a valid cron string which should be triggered every two weeks on Monday.
In Quartz 2.5, it works fine.
Actual behavior
The exception is thrown
System.FormatException: 'Illegal characters for this position: 'MON''
Steps to reproduce
The text was updated successfully, but these errors were encountered: