node-cron
Reasonable, with limits. 5th of 9 job queues and schedulers.
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
Overall6.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- pkgpulse.com/guides/node-cron-vs-node-schedule-vs-croner-task-scheduling-2026: Prefers Croner for production work
- github.com/node-cron/node-cron/issues: DST bugs are still open
- npm downloads ratio: Its 3.7 ratio is below the 4.1 median
- github.com/node-cron/node-cron/releases: Many features were added in 2026
GPT-6.2 Sol: 7.1, likely 6.0 to 8.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.
- github.com/node-cron/node-cron: Documents overlap control, isolated background jobs, and in-memory scheduling.
- github.com/node-cron/node-cron/issues/624: The fall-back bug was reproduced on 4.6.0.
- github.com/Hexagon/croner: Croner supports Node.js, Bun, Deno, and browsers.
- watchgoose.com/guides/node-cron: Independent comparison explains where a persistent BullMQ queue fits.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth trails the catalog baseline.
Needed by many5.4
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- dependents.repos: 15,818 dependent repositories show broad need for simple scheduling
- pkgpulse.com/guides/node-cron-vs-node-schedule-vs-croner-task-scheduling-2026: Says in-process cron libraries do not distribute work and points to queues for that
GPT-6.2 Sol: 4.8, likely 3.7 to 5.9
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.
- 2025.stateofjs.com/en-US/other-tools/#js_runtimes: Node.js was the most-used runtime among respondents.
- watchgoose.com/guides/node-cron: Describes the fit for long-running services and the limits on serverless platforms.
Helps a lot6.5
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- github.com/node-cron/node-cron/releases: Versions 4.3 to 4.6 added coordination, introspection, shutdown and DST fixes
- github.com/node-cron/node-cron/issues: Open DST bugs #625 and #637, and #611 where execute() bypasses noOverlap
- pkgpulse.com/guides/node-cron-vs-node-schedule-vs-croner-task-scheduling-2026: Recommends Croner for production because of DST handling and error handling
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 7.0, likely 5.9 to 8.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.
- github.com/node-cron/node-cron/releases/tag/v4.6.0: Documents graceful shutdown, cron syntax additions, and CommonJS type fixes.
- nodecron.com/distributed-coordination.html: Explains replica selection, Redis coordination, and skipped runs.
- github.com/node-cron/node-cron/issues/625: Users reported and reproduced a stable-release stall during fall-back.
- watchgoose.com/guides/node-cron: Independent comparison covers task controls, persistence, and retry limits.
Holds up over time6.4
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.5
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.
- github commitsLastYear: 136 commits and 5 releases in the last year
- github openIssues: 3 open issues against 358 closed
- nodecron.com/migrating-from-v3: v4 needs Node 20 or newer and changes the API
- maintainer: Long maintained mainly by one person (merencia)
GPT-6.2 Sol: 6.8, likely 5.6 to 7.9
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.
- github.commitsLastYear, github.releasesLastYear, github.latestRelease: 136 commits, five releases, and a July stable release.
- github.com/node-cron/node-cron/pull/626: The fall-back fix merged on November 6.
- github.com/node-cron/node-cron/pull/633: The 4.6.1 release PR remained open.
- nodecron.com/migrating-from-v3.html: Documents runtime, option, and event changes.
- opencollective.com/node-cron: Shows modest public contributions through Open Collective.
Used widely7.1
How many use it, and is that growing?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
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.
- npm downloadsLast4Weeks: 27.4M now against 7.5M a year ago, a ratio of about 3.7
- medianDownloadsRatio: The median ratio is 4.1
- dependents.repos: 15,818 repositories, the most among peers
- peers Croner: 60M downloads at a ratio of about 5.4
GPT-6.2 Sol: 6.1, likely 5.0 to 7.2
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.
- dependents.repos, dependents.packages: 15,818 repositories and 981 packages in a partial index.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: Growth of 3.67× versus a 4.1× median, 5.45× for Croner, and 6.88× for BullMQ.
- github.stars, hackerNews.stories, bluesky.posts: 3,285 stars and zero matched stories or posts.
Vouched for5.4
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 3.5 to 6.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.
- hackerNews / bluesky: 0 stories and 0 posts
- pkgpulse.com/guides/node-cron-vs-node-schedule-vs-croner-task-scheduling-2026: Calls it fine for simple scripts and prefers Croner for production
- blog.logrocket.com/comparing-best-node-js-schedulers: Covered among the common Node.js schedulers
GPT-6.2 Sol: 5.7, likely 4.4 to 6.9
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.
- github.com/microsoft/open-kosmos/blob/main/package.json: Open Kosmos declares a node-cron v4 runtime dependency.
- github.com/Wei-Shaw/claude-relay-service/blob/main/package.json: Claude Relay Service declares a node-cron v4 runtime dependency.
- watchgoose.com/guides/node-cron: Current independent comparison identifies a clear use case for overlap control.
- github.com/Hexagon/cron-comparison: The Croner maintainer's benchmark used node-cron 3.0.2 in 2023.
Safe7.9
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- npm dependencies: 0 runtime dependencies
- advisories total: 0 advisories
- scorecard score: 5.5, with Code-Review at 3 and Token-Permissions at 0
- github license: ISC
GPT-6.2 Sol: 7.8, likely 6.5 to 8.9
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.
- npm.dependencies, npm.license, advisories.total: Zero runtime dependencies, ISC license, and zero recorded advisories.
- scorecard.score, scorecard.checks: Overall 5.5, with token permissions at 0 and pinning and code review at 3.
- raw.githubusercontent.com/node-cron/node-cron/v4.6.0/.github/workflows/publish.yml: The tagged workflow uses trusted publishing and requests provenance.
- github.com/node-cron/node-cron/actions/runs/28744413390/attempts/1: Publish workflow run linked from the package provenance record.
- npm.io/package/node-cron: Mirrored npm metadata lists one maintainer and the release provenance.
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
- npm downloads, 4 weeks
- 27M ×3.7 in a year
- GitHub stars
- 3.3k
- Commits, 12 months
- 136
- npm version
- 4.6.0 Jul 2026
- Versions, 12 months
- 5
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 5.5 out of 10, Nov 2026
- Licence
- ISC
Read on 21 November 2026 from GitHub (node-cron/node-cron), npm (node-cron), OSV and the OpenSSF Scorecard.