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
I passed 0 30 17 ? * 3#2 expression to trigger a process on 2nd Tuesday of every month at 5:30PM but the library throws exception CronError: Field (dayOfMonth) cannot be parsed.
Upon debugging, I found out that it the library does not honor '#' in the expression.
Expected Behavior
'#' should be be honored as its considered into cron expression.
Actual Behavior
Library throws exception when '#' is passed in cron expression: CronError: Field (dayOfMonth) cannot be parsed
Possible Fix
No response
Steps to Reproduce
Ue expression 0 30 17 ? * 3#2 in any code snippet using the library.
Context
I was trying to run a cron job.
Your Environment
cron version: 3.1.7
NodeJS version: 18.16.0
Operating System and version: macOS 14.6.1
TypeScript version (if applicable):
Link to your project (if applicable):
The text was updated successfully, but these errors were encountered:
Description
I passed 0 30 17 ? * 3#2 expression to trigger a process on 2nd Tuesday of every month at 5:30PM but the library throws exception
CronError: Field (dayOfMonth) cannot be parsed
.Upon debugging, I found out that it the library does not honor '#' in the expression.
Expected Behavior
'#' should be be honored as its considered into cron expression.
Actual Behavior
Library throws exception when '#' is passed in cron expression:
CronError: Field (dayOfMonth) cannot be parsed
Possible Fix
No response
Steps to Reproduce
Ue expression 0 30 17 ? * 3#2 in any code snippet using the library.
Context
I was trying to run a cron job.
Your Environment
cron
version: 3.1.7The text was updated successfully, but these errors were encountered: