You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: