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
When pass endDate to repeat opts the job is not add and not exception is throw
Minimal, Working Test code to reproduce the issue.
constjob1=awaitqueue.add({name: 'job1'},{repeat: {cron: "0 * * * * *",startDate: "2020-09-02T22:29:00Z"}})constjob2=awaitqueue.add({name: 'job2'},{repeat: {cron: "0 * * * * *",startDate: "2020-09-02T22:29:00Z",endDate: "2020-09-03T01:44:37Z"}})console.log(job1);//looks good, the job was addedconsole.log(job2);//looks bad, job2 is undefined and the job was not added. No error was throw
(An easy to reproduce test case will dramatically decrease the resolution time.)
Bull version
3.11.0 and 3.18.0
Additional information
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
When pass
endDate
to repeat opts the job is not add and not exception is throwMinimal, Working Test code to reproduce the issue.
(An easy to reproduce test case will dramatically decrease the resolution time.)
Bull version
3.11.0 and 3.18.0
Additional information
The text was updated successfully, but these errors were encountered: