-
Notifications
You must be signed in to change notification settings - Fork 513
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
Jobs don't fire due to leap year #225
Comments
I can confirm these errors are happening. Will look into them. Thanks for reporting! |
+1 |
This bit me today (well, sometime within the last week or so). This may be a duplicate of #172. |
+1 |
Hey guys, can you check if the changes in #233 fix the issue for you? Thanks! |
+1, ran in to this today |
IS there a fix for today then? I updated to 0.6.0. |
I use node-schedule in my project. It is about 1000 people who use it. They all can't control heating, light and so on. I am interesting in solution too. |
Hi all. I understand this issue is important for all. I plan releasing a |
I'm trying out the @albertdatui branch... it seems to be working for me. |
@albertdatui branch is also working properly for me. In package.json: |
+1 |
+1 same issue here |
+1 |
+1 |
this is a semver major change. @santigimeno suggests grouping it w/ the other 1.0 changes, which I stand by. in the meantime, see- and definitely do not comment here or open additional issues unless you've read the above |
I deployed the branch from the pull request last night, and while there are no errors now, it also doesn't seem like it is firing any crons now. |
@holm Can you provide an example we can run to replicate? Maybe you can use sinon fake timers? Small, isolated- separate from all your business logic and so forth. |
Absolutely. Let me look into a bit more and see what I can find and come up with a testcase. |
Thanks! Next few days are super busy 😓 so no promises, but a reproducible test case makes debugging this 100x easier (and more reasonable) for anyone who'd like to attempt it. |
@doronMendelson That's great news :) |
I have been using the @albertdatui branch for 11 hours now. I thought it tackled 100% of my issue, however, I discovered this morning a strange behavior every hour between :45 and :00.
https://www.dropbox.com/s/vxpy5die0btlqhc/Capture%20d%27%C3%A9cran%202016-02-01%2010.23.31.png?dl=0 I still have to investigate but it seems related. |
@KevinC0 Ok just let us know if you find something. FYI, I've run some tests using your cron expression and |
Any solutions so far? |
I have tried to reproduce the problem on my mac, but I can only reproduce on our servers. On our servers all the jobs fire immediately when started, and then never after that. |
@holm Thanks for the info. Can you reproduce it consistently on your servers? If that's the case, can you add these lines:
To the
And paste the output? |
Alright, it seems the node-schedule package didn't update properly on the servers, even though the shrinkwrap file is fine and it works on Travis. I suspect it is a problem with npm@3.5, which has been giving us a bit of grief. Sorry for the smoke on this, I think you should go ahead and release. |
@holm Thanks for the feedback! Regarding the |
Update regarding |
It's working again, thank goodness 👍
|
When the V1.0.0 need to released? |
Works! Thank you. |
👍 |
👍 Thanks for the fix |
Thanks guys :) |
we changed our package.json to use the v1.0-pre repository and now everything works as it did 2015:
thanks for the fix! 👍 |
+1 |
1 similar comment
+1 |
👍 Looks like it's working here |
+1 |
Fixed in 2468fb7 and released as version 1.0.0. |
Thanks for getting this sorted so quickly. You guys rock! |
+1 |
Great work! Thanks! |
Good job @santigimeno @albertdatui |
👍 |
I updated to 1.0.0, deployed and restarted my app, but my scheduled jobs are no longer firing (last execution was at 09:00 Jan 31 (Mountain Time). The schedule is as follows:
Is there something else I need to do to get things running again? Thanks! |
There is a bug in cron-parser library.
I suspect that it is due to the leap year.
Here is the snippet of the error code.
The text was updated successfully, but these errors were encountered: