In this chapter, we implemented the logic for automated tasks. We saw how to import and use node packages that don't contain Typings and where we can find the registry for adding new type definitions.
We used a cron job to call services created in the previous chapters for collecting, rating, and storing qualified news in a list ready to be fetched and notified by the application or later via email. We also saw how to implement the helper functions for calculating dates, finding out dated items, and keeping the database clean on each cron job cycle.
In the next chapter, we will see how to use clustering algorithms to find related resources (articles, images, videos, and so on) to the news of our interest.