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
// hard stop if the current date is after the expected execution
272
-
if(Date.now()>timeout){
275
+
// hard stop if the current date is after the maximum match interval
276
+
if(date>maxMatch){
273
277
thrownewError(
274
-
`Something went wrong. It took over five seconds to find the next execution time for the cron job.
275
-
Please refer to the canonical issue (https://github.com/kelektiv/node-cron/issues/467) and provide the following string if you would like to help debug:
278
+
`Something went wrong. No execution date was found in the next 8 years.
279
+
Please provide the following string if you would like to help debug:
276
280
Time Zone: ${zone||'""'} - Cron String: ${this} - UTC offset: ${date.offset}
277
281
- current Date: ${luxon.DateTime.local().toString()}`
0 commit comments