talira

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 APIplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what Agenda does.

  1. Bull The fastest, most reliable, Redis-based queue for Node
  2. NotePlan Notes, tasks and calendar in one daily note
  3. BullMQ Message queue and batch processing for Node.js, Python, .NET, Elixir, Rust and PHP
  4. Faktory Language-agnostic background job server

Compare Agenda with the top 3