npm i agenda

7 Tutorials

Find additional tutorials on Google

NodeJS: scheduling tasks with Agenda.js
Schedule tasks on a NodeJS server without cron jobs, but using Agenda module that persists job data on a mongodb collection.

How to Set Up a Job Queue in Node.js Using Agenda and MongoDB
<p>How to set up a job queue using Agenda and MongoDB and how to send jobs to that queue via an API endpoint managed by Express.</p>

Node.js Task Scheduling With Agenda and MongoDB
By virtue of the event loop, scheduling tasks in Node.js is relatively straightforward. Plain old setTimeout() and setInterval() are sufficient for many basic use cases where you would normally use cron. However, things get more interesting when you need durable transactional scheduling, for use cas…