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
Support all 6 fields of cron expression including second's part
Actual Behavior
getting error saying expecting only 5 fields instead of 6 fields.
RpcException: Status(StatusCode="Internal", Detail="failed to schedule job due to: rpc error: code = Unknown desc = job failed validation: expected exactly 5 fields, found 6: [/10 * * * ]")
Defining job without seconds part execute the code but looking the dapr scheduler logs showing the
" level=fatal msg="error running scheduler: expected exactly 6 fields, found 5: [/1 * * * *]"
Causing the "MapDaprScheduledJobHandler" never hit.
Steps to Reproduce the Problem
Try to create job by defining cron expression containing second's part for e.g.
"*/10 * * * * *"; // Every 10 Sec
I am currently using "1.15.0-rc03" version of Dapr.Jobs
The text was updated successfully, but these errors were encountered:
@ajaysingh77 This is a known bug in the Dapr runtime, not the .NET SDK. While a patch was recently merged that fixes it, there hasn't been another RC of the runtime yet that it's available in.
Expected Behavior
Support all 6 fields of cron expression including second's part
Actual Behavior
getting error saying expecting only 5 fields instead of 6 fields.
RpcException: Status(StatusCode="Internal", Detail="failed to schedule job due to: rpc error: code = Unknown desc = job failed validation: expected exactly 5 fields, found 6: [/10 * * * ]")
Defining job without seconds part execute the code but looking the dapr scheduler logs showing the
" level=fatal msg="error running scheduler: expected exactly 6 fields, found 5: [/1 * * * *]"
Causing the "MapDaprScheduledJobHandler" never hit.
Steps to Reproduce the Problem
Try to create job by defining cron expression containing second's part for e.g.
"*/10 * * * * *"; // Every 10 Sec
I am currently using "1.15.0-rc03" version of Dapr.Jobs
The text was updated successfully, but these errors were encountered: