Scheduling chrone job’s for production application’s using Node JS



This content originally appeared on Level Up Coding – Medium and was authored by Marco Bertelli

Why we forked Agenda and why you should care

A production-ready, MongoDB-backed job scheduler for Node.js that’s actively maintained and battle-tested

The Open Source Software Graveyard

Picture this: you’re building a critical application that needs reliable job scheduling. You find the perfect library — Agenda—only to discover it's been quietly abandoned. No updates, no bug fixes, and no support for the latest MongoDB drivers. Sound familiar?

This is the graveyard of promising but forgotten open-source projects. And it’s exactly why Chronos exists.

Meet Chronos: Agenda Reborn 🔥

Chronos is a lightweight yet powerful job scheduling library for Node.js. It began as a fork of Agenda but with one crucial difference: it's actively maintained, battle-tested, and ready for the future.

We took the solid foundation of Agenda and rebuilt it for the modern development landscape.

Why Choose Chronos?

💾 Leverage Your Existing MongoDB Stack

If you’re already running on MongoDB, why add the complexity of Redis just for scheduling? Chronos delivers enterprise-grade job scheduling using the database infrastructure you already know and love. That means fewer dependencies, less overhead, and a more consistent stack.

🚀 Actively Maintained and Community-Driven

Unlike its predecessor, Chronos is a living project. Maintained by Marco Bertelli (that’s me!), it’s regularly updated with the latest drivers and backed by responsive community support. You’re not alone; we’re here to build something reliable together.

Battle-Tested for Production 🔧

Chronos isn’t an experiment. It’s a proven solution packed with all the features you’d expect from an enterprise-grade scheduler:

  • Configurable concurrency to manage your workload.
  • Job priorities to ensure critical tasks run first.
  • Failure handling and automatic retries.
  • Event-driven architecture for maximum flexibility.
  • Graceful shutdowns to ensure no jobs are lost.

The Technical Evolution: What We’ve Improved Since Forking Agenda

Here’s a look at the key upgrades we’ve made:

✅ Modern MongoDB Drivers Full support for the latest versions of the mongodb driver, guaranteeing better performance, enhanced security, and compatibility with modern MongoDB features.

✅ Complete and Clear Documentation We created a dedicated documentation site to make onboarding as fast and painless as possible. No more digging through outdated GitHub issues.

✅ Modern JavaScript (ESM & Async/Await) The codebase has been refactored to use modern JavaScript features, making it cleaner, more performant, and easier to contribute to.

✅ First-Class TypeScript Support Chronos is written in TypeScript, offering robust type safety and a superior developer experience right out of the box.

Ready to Make the Switch?

It’s time to migrate to a scheduling solution you can trust.


Scheduling chrone job’s for production application’s using Node JS was originally published in Level Up Coding on Medium, where people are continuing the conversation by highlighting and responding to this story.


This content originally appeared on Level Up Coding – Medium and was authored by Marco Bertelli