question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scheduler is stopped after 25-30 days

See original GitHub issue

In the server, the VM environment scheduler gets stop after 25-30(Not sure about exact) days. Our scheduler executes the below rule.

const k = schedule.scheduleJob('* * * * *', async() => { console.log('This job runs every 1 minute.'); }); Does anybody have an idea about why my node scheduler process stops? I checked the logs and there were no errors in logs.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
JVaghela-Fintechcommented, Sep 4, 2020

Facing the same issue in node 14.7.0, the node-schedule stops working after 26 days.

1reaction
j1151300783commented, Dec 4, 2019

@rohitpatil7892 It’s good to know that. according to #473

It seems this is a bug that was fixed in Node 10.9.0 nodejs/node#22149

I am testing now. No matter success or fail, i will let you know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Job Scheduler
Schedule the job to run on specified days. The date when the job should run. The day relative to the end of the...
Read more >
Using the "job" command in switches - Australia / New Zealand
Jobs can be scheduled to run once, multiple times on a recurring basis, or after certain events. By default, the job is recurring....
Read more >
Schedule POE Toggle on HP 2530-24-PoEP Switch (J9779A)
So we have a POE device that crashes after a few weeks but is fine once you reboot the power to it. There...
Read more >
Scheduled task may not run upon reboot if machine was off at ...
This issue can occur if the task trigger was set to run One Time when created. It is possible to set a task...
Read more >
Using the reload command with HP ProCurve Switches
reload after accepts time as [DD:][HH:]MM, meaning that hours and days are ... port to the device, which would cut you off completely...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found