-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bot occasionally stops #12
Comments
I can confirm that issue. It's been reported several times on our Discord as well and was one of the reasons why I switched the cronjob library here: 4ed06f5e6c28d2c3562d07b526818068d7d1a3f0 The new one seems to have the same issue it seems, and I just don't know what it could be. You can find people reporting the issue here: Both cronjob libraries I've tried seem to (at some point) just stop, without an error. I thought about adding another interval that checks if the cronjobs are still running, but that kind of defeats the purpose of having cronjobs. So right now I'm thinking about removing them in favor of simple intervals. You won't have the granularity to choose to invest every second Sunday, but intervals never fail and most people seem to use a 5 minute Rebalance with a daily Investment anyway. I will think about how to uddate this without breaking the current bot for people that have automatic updates turned on. |
hello @Thornsnake! we have done a lot of work on could you try to upgrade the package to our latest major version ( I'm closing kelektiv/node-cron#585 for now since we don't have any way to reproduce the bug, but feel free to comment there if you're still having the issue after upgrading to the latest version so we can reopen the issue! Note: we are planning on adding support for extended CRON characters soon, so upgrading to |
Hi
I monitored the bot closely as of late, and I'm sad to report it occasionally stops with no auto-restart.
This happened to me a couple times in the past, and started to happen again recently.
Please see the following logs as evidence.
The bot stopped working on 18/01, at 11:40:05 local time:
I checked the server today and restarted the bot manually at 13:40:05 local time:
I inspected the error log on January, the 18th but I can't find any entry leading to a process halt at that time:
I'm now thinking to add a cron job entry to ensure the process is restarted a couple times a day at least.
The text was updated successfully, but these errors were encountered: