Lightweight job scheduling library for Node.js
open sourceMITfree
Agenda is an open source job scheduling library for Node.js, written in TypeScript. Jobs are scheduled with cron or human-readable syntax, with priorities, concurrency, repeating jobs, delayed jobs, retries with backoff, debouncing, pause and resume, and persistence of results, through a promise-based API and events you can hook into. Storage is pluggable: MongoDB by default, or PostgreSQL and Redis through separate backend packages, with optional real-time notifications over Redis, PostgreSQL LISTEN/NOTIFY or MongoDB change streams, and a fork mode for sandboxed job execution. Agendash adds a web interface and agenda-rest a standalone REST API. It's under the MIT licence.
Problems it solves
- run scheduled and recurring jobs in my Node.js app using the MongoDB I already have
- schedule a task to run later in Node.js and keep it if the server restarts
- see and manage my Node.js background jobs in a web dashboard
Features
- cron and human-readable schedules
- priorities, concurrency and repeating jobs
- retries with backoff and debouncing
- pluggable MongoDB, PostgreSQL and Redis backends
- real-time notifications
- sandboxed fork mode
- Agendash web UI
- REST API
Capabilities
| Has an API | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Agenda does.
