# node-cron: 6.6 out of 10

Reasonable, with limits. 5th of 9 in [Job queues and schedulers](https://elestia.ai/opensource/job-queues/index.md).

node-cron is a small in-process cron scheduler for Node.js with no dependencies. It is the most widely depended-on cron library in this category. Version 4 added TypeScript types, overlap prevention, background tasks and an option to run each job on only one server in a fleet. It is a reasonable pick for simple recurring jobs in one process, but Croner is more correct around timezones and works on more runtimes, and it does not persist jobs or retry them the way a queue like BullMQ or pg-boss does.

**Best for:** Node.js apps that need simple cron-style recurring jobs inside one long-running process, without adding Redis or a database.

## Scores

- **Overall: 6.6** (likely 5.5 to 7.6)
  - Claude Opus 5.5 (6.0): It is a solid, dependency-free and actively improved in-process scheduler that many projects use. For a new project, Croner is the better in-process cron library: it handles DST more reliably, runs on more runtimes and is growing faster. When jobs must be durable, BullMQ or pg-boss do more. node-cron is still a reasonable, simple choice for basic Node-only cron jobs.
  - GPT-6.2 Sol (7.1): node-cron is a strong pick for simple recurring work in an always-on Node.js service, especially when overlap control or child-process execution matters. Croner is a stronger default for portable in-process scheduling, and BullMQ fits jobs that need persistence and retries. The stable time-zone bug and below-median download growth keep node-cron from being the category default.
- **Needed by many: 5.4** (likely 4.4 to 6.5)
  - Claude Opus 5.5 (6.0): Many backend Node.js projects need some recurring job, such as cleanups, reports or syncs. node-cron covers only the in-process cron part of the category, not durable queues, and it serves Node.js only. That makes it narrower than the whole category but still a large group.
  - GPT-6.2 Sol (4.8): Recurring cleanup, reports, and sync jobs are common needs in Node.js services. node-cron fits applications with an always-running process and schedules that can tolerate downtime. Runtime surveys show a large Node.js audience, while the share of developers who need this kind of scheduler is harder to estimate.
- **Helps a lot: 6.5** (likely 5.5 to 7.5)
  - Claude Opus 5.5 (6.0): Version 4 is a real upgrade. It is written in TypeScript and adds overlap prevention, background tasks, distributed run coordination, next-run introspection, graceful shutdown and Quartz-style tokens. But DST bugs are still open, execute() skips the overlap tracking, and older reviews and the Croner author's tests found correctness gaps. Croner does the in-process cron job more reliably, and it does nothing a durable queue does.
  - GPT-6.2 Sol (7.0): Version 4.6.0 has clear examples, bundled types, task events, graceful shutdown, overlap prevention, and optional replica coordination. The small API and types give coding agents a clear path for basic jobs, though agent accuracy and current performance have little independent measurement. Jobs are held in memory, retries are left to the application, and users reproduced a fall-back stall in the stable release.
- **Holds up over time: 6.4** (likely 5.3 to 7.7)
  - Claude Opus 5.5 (6.0): The repository is active, with 136 commits and 5 releases in the last year, only 3 open issues and a push in November 2026. Most of the work came in one burst in mid-2026 from what looks like one main maintainer, with no visible funding. No release has followed since July, and the major version required Node 20 and API changes.
  - GPT-6.2 Sol (6.8): The project logged 136 commits and five releases in the past year, and maintainers merged a fix for the fall-back bug within two weeks of the report. The latest stable release is from July, and the November patch is still in an open release PR. The v4 migration took real work, public funding appears modest, and the number of people who can cut a release is unclear.
- **Used widely: 7.1** (likely 6.0 to 7.9)
  - Claude Opus 5.5 (8.0): It had 27.4M downloads in 4 weeks and 15.8k dependent repositories, the most dependents in the category. Downloads grew 3.7 times over the year, which is below the 4.1 median, so it is losing share slightly. Croner (5.4 times) and BullMQ (6.9 times) are growing faster.
  - GPT-6.2 Sol (6.1): Ecosyste.ms found 15,818 dependent repositories and 981 packages, with the largest repository count in the peer set. Four-week downloads reached 27.4 million, about 3.67 times the prior year, below the 4.1 catalog median and behind Croner and BullMQ on growth. That suggests a large installed base losing relative ground, with uncertainty about how many new projects choose it because downloads include automated and indirect installs.
- **Vouched for: 5.4** (likely 4.0 to 6.5)
  - Claude Opus 5.5 (5.0): Its very wide use and many tutorials show that it works for simple jobs. Independent write-ups mostly call it fine for basic jobs and prefer Croner for production correctness. There is no Hacker News or Bluesky attention, and no major framework builds on it.
  - GPT-6.2 Sol (5.7): Microsoft's Open Kosmos and Claude Relay Service declare node-cron v4 as a runtime dependency. A recent independent comparison finds it useful for simple in-process schedules and points out the limits around recovery. Developer satisfaction data specific to node-cron is sparse, and the available comparative benchmark tested v3 and came from the Croner maintainer.
- **Safe: 7.9** (likely 6.8 to 9.0)
  - Claude Opus 5.5 (8.0): It has no dependencies, no known advisories and a permissive ISC licence. The OpenSSF Scorecard is middling at 5.5, with weak code review, token permissions, pinned dependencies and SAST checks. Releases appear to come from a small number of people.
  - GPT-6.2 Sol (7.8): The core has zero runtime dependencies, uses the permissive ISC license, and has zero advisories recorded in OSV. Version 4.6.0 was published through GitHub Actions using npm trusted publishing with provenance. OpenSSF Scorecard flags workflow token permissions, action pinning, and code review, and public npm metadata lists one maintainer.

## Good

- It has no runtime dependencies, ships its own TypeScript types and has a familiar cron API that AI agents write correctly.
- Version 4 added overlap prevention, background child-process tasks, graceful shutdown and Quartz-style L, W and nth-weekday tokens.
- It can run a job on only one of several app instances per scheduled time, using a pluggable coordinator.
- It has the largest count of dependent repositories in the category, so examples and answers are easy to find.

## Bad

- DST bugs are still open: a schedule that did not fire after a DST change, and wrong behaviour in the repeated fall-back hour.
- It has no persistence, retries or job history, so jobs are lost when the process is down. Queues like BullMQ and pg-boss handle this.
- The v4 upgrade needs Node 20 or newer and changes the API. A field was also renamed in a patch release (4.4.0 to 4.4.1).
- It runs on Node.js only. Croner covers Deno, Bun and browsers with similar features.

## The numbers

- Downloads, 4 weeks: 27M
- In a year: ×3.7
- GitHub stars: 3.3k
- Commits, 12 months: 136
- Last npm release: Jul 2026
- Advisories, 24 months: 0
- Licence: ISC
- GitHub: https://github.com/node-cron/node-cron
- npm: https://www.npmjs.com/package/node-cron

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
