Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Something went wrong. cron reached maximum iterations. #620

Closed
TomoyoshiToyoda opened this issue Jun 20, 2022 · 3 comments
Closed

Comments

@TomoyoshiToyoda
Copy link

Hi, I have an error with your product.
As an error message says, your product will be happy if you check the one out.
I'm afraid this issue is already an existing one, like this, though.

/home/app/app/node_modules/cron/lib/cron.js:235
throw new Error(
^
Error: Something went wrong. cron reached maximum iterations.

Please open an issue (https://github.com/kelektiv/node-cron/issues/new) and provide the following string
Time Zone: "" - Cron String: 6 * * * * * - UTC offset: +09:00 - current Date: Mon Jun 20 2022 07:27:15 GMT+0000
at CronTime._getNextDateFrom (/home/app/app/node_modules/cron/lib/cron.js:235:12)
at CronTime.sendAt (/home/app/app/node_modules/cron/lib/cron.js:156:17)
at CronTime.getTimeout (/home/app/app/node_modules/cron/lib/cron.js:175:29)
at CronJob.start (/home/app/app/node_modules/cron/lib/cron.js:613:31)
at Timeout.callbackWrapper [as _onTimeout] (/home/app/app/node_modules/cron/lib/cron.js:665:29)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
@michael-azogu
Copy link

how many iterations do you think it took to break

@TomoyoshiToyoda
Copy link
Author

I guess you're thinking about the probability of recurrence.
It's like below:

  • I have had the phenomenon three times ever.
  • All three had been seen after 7 or 9 months after starting.
  • All three are scheduled ones per minute.

@intcreator
Copy link
Collaborator

please close this issue and refer to the canonical issue at #467. if you get an error message telling you to open a new issue it's because you're using an old version of node-cron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants