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

node-cron lib seems like not being maintained #433

Closed
devvaneio opened this issue Jan 6, 2021 · 1 comment
Closed

node-cron lib seems like not being maintained #433

devvaneio opened this issue Jan 6, 2021 · 1 comment

Comments

@devvaneio
Copy link

Nest provides the @nestjs/schedule package, which integrates with the popular Node.js node-cron package. We'll cover this package in the current chapter.

The nestjs scheduling feature makes use of node-cron under the hood and the libs seems like not being maintained. 7 months without updates and a lot of repeated issues: kelektiv/node-cron#548, kelektiv/node-cron#547, kelektiv/node-cron#545, kelektiv/node-cron#542, kelektiv/node-cron#539 and a lot more. The issues have no comments.

This could represent a problem during the use of scheduling feature of nestjs since it relies too much on this lib? The fact that the lib is popular doesn't mean it should be used anymore.

@kamilmysliwiec kamilmysliwiec transferred this issue from nestjs/nest Jan 7, 2021
@kamilmysliwiec
Copy link
Member

This package is a tiny wrapper on top of the node-cron library. Nest lets you use & integrate any package that exists in the Node.js ecosystem easily, so if you are afraid that you might be affected by some of the issues reported in the node-cron repo/you just want to use a different CRON library and, you can do so. Using @nestjs/schedule is not a requirement for creating CRON jobs with Nest - it's just a helper lib.

@nestjs nestjs locked as resolved and limited conversation to collaborators Jan 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants