---
title: "node-cron 4.6.0 Breaking Changes on npm | Since.dev"
description: "What each node-cron release removed, renamed or changed: 34 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/node-cron
last_updated: 2026-12-04
---

# node-cron breaking changes

node-cron 4.6.0 (July 5, 2026) is its newest release with breaking changes, 5 of them. The first: Inverted cron ranges now wrap around instead of being swapped in node-cron 4.6.0. Every breaking API change we have recorded in node-cron on npm: 34 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.6.0`, released July 5, 2026. [Source repository](https://github.com/node-cron/node-cron)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.6.0](#v-4-6-0): 25 breaking changes in 7 versions.
- From [2.0.0](#v-2-0-0) to [4.6.0](#v-4-6-0): 31 breaking changes in 8 versions.

## node-cron 4.6.0 breaking changes

node-cron 4.6.0, released July 5, 2026: 5 breaking changes.

- **Behavior changed**  

Ranges whose start is greater than their end now expand with wrap-around rather than silently swapping the bounds. Check any schedules that use inverted ranges. [github.com](https://github.com/node-cron/node-cron/releases/tag/v4.6.0)
- **Behavior changed**  

Scheduling a task now validates the cron expression up front, so expressions that were previously accepted silently may now throw. Make sure schedule strings are valid. [github.com](https://github.com/node-cron/node-cron/releases/tag/v4.6.0)
- **Behavior changed**  

Runs triggered manually through execute() no longer count toward a task's maxExecutions limit. Scheduled runs are counted as before. [github.com](https://github.com/node-cron/node-cron/releases/tag/v4.6.0)
- **Signature changed** `TaskContext`  

Was type TaskContext = {date: Date; dateLocalIso: string; task?: ScheduledTask; execution?: Execution; triggeredAt: Date; reason?: SkipReason;}; now type TaskContext = {date: Date; dateLocalIso: string; task?: ScheduledTask; execution?... [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.6.0)
- **Signature changed** `TaskOptions`  

Was type TaskOptions = {timezone?: string; name?: string; noOverlap?: boolean; distributed?: boolean; runCoordinator?: RunCoordinator; distributedLease?: number; maxExecutions?: number; maxRandomDelay?: number; logger?: Logger... [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.6.0)

## node-cron 4.5.0 breaking changes

node-cron 4.5.0, released June 21, 2026: 1 breaking change.

- **Signature changed** `ParsedFields.dayOfWeek`  

Was dayOfWeek: number\[\]; now dayOfWeek: (number | string)\[\]. [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.5.0)

## node-cron 4.4.1 breaking changes

node-cron 4.4.1, released June 18, 2026: 2 breaking changes.

- **Removed** `TaskOptions.distributedTtl`  

The distributedTtl task option was renamed to distributedLease with the same meaning and no alias. Code that adopted distributedTtl in 4.4.0 must rename it to distributedLease. [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.4.1)
- **Signature changed** `TaskOptions`  

Was type TaskOptions = {timezone?: string; name?: string; noOverlap?: boolean; distributed?: boolean; runCoordinator?: RunCoordinator; distributedTtl?: number; maxExecutions?: number; maxRandomDelay?: number; logger?: Logger... [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.4.1)

## node-cron 4.4.0 breaking changes

node-cron 4.4.0, released June 18, 2026: 2 breaking changes.

- **Signature changed** `TaskContext`  

Was type TaskContext = {date: Date; dateLocalIso: string; task?: ScheduledTask; execution?: Execution; triggeredAt: Date;}; now type TaskContext = {date: Date; dateLocalIso: string; task?: ScheduledTask; execution?: Execution; triggeredAt... [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.4.0)
- **Signature changed** `TaskOptions`  

Was type TaskOptions = {timezone?: string; name?: string; noOverlap?: boolean; maxExecutions?: number; maxRandomDelay?: number; logger?: Logger; suppressMissedWarning?: boolean; missedExecutionTolerance?: number; executeTimeout?: number... [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.4.0)

## node-cron 4.3.0 breaking changes

node-cron 4.3.0, released June 17, 2026: 3 breaking changes.

- **Behavior changed** `missedExecutionTolerance`  

The new missedExecutionTolerance option defaults to 1000ms, so a run that wakes up to about 1 second late now executes instead of emitting execution:missed. Code that relies on execution:missed for those runs must set the option to 0 or... [github.com](https://github.com/node-cron/node-cron/releases/tag/v4.3.0)
- **Signature changed** `ScheduledTask.getStatus`  

Was getStatus(): string | Promise\<string>; now getStatus(): string. [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.3.0)
- **Signature changed** `TaskOptions`  

Was type TaskOptions = {timezone?: string; name?: string; noOverlap?: boolean; maxExecutions?: number; maxRandomDelay?: number;}; now type TaskOptions = {timezone?: string; name?: string; noOverlap?: boolean; maxExecutions?: number... [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.3.0)

## node-cron 4.1.0 breaking changes

node-cron 4.1.0, released May 31, 2025: 4 breaking changes.

- **Removed** `Options`  

Options was removed in node-cron 4.1.0 [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.1.0)
- **Signature changed** `createTask`  

Was function createTask(expression: string, func: TaskFn | string, options?: Options): ScheduledTask; now function createTask(expression: string, func: TaskFn | string, options?: TaskOptions): ScheduledTask. [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.1.0)
- **Signature changed** `schedule`  

Was function schedule(expression: string, func: TaskFn | string, options?: Options): ScheduledTask; now function schedule(expression: string, func: TaskFn | string, options?: TaskOptions): ScheduledTask. [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.1.0)
- **Signature changed** `TaskOptions`  

Was type TaskOptions = {timezone?: string; name?: string; noOverlap?: boolean; maxExecutions?: number;}; now type TaskOptions = {timezone?: string; name?: string; noOverlap?: boolean; maxExecutions?: number; maxRandomDelay?: number;}. [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.1.0)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### node-cron 4.0.0 breaking changes

node-cron 4.0.0, released May 10, 2025: 8 breaking changes.

- **Removed** `getTasks`  

getTasks was removed in node-cron 4.0.0 [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.0.0)
- **Removed** `schedule`  

schedule was removed in node-cron 4.0.0 [npmjs.com](https://www.npmjs.com/package/node-cron/v/4.0.0)

And 6 more in this version.

### node-cron 3.0.0 breaking changes

node-cron 3.0.0, released March 10, 2021: 6 breaking changes.

- **Signature changed** `schedule`  

Was function schedule(cronExpression: string, func: () => void, options?: ScheduleOptions): ScheduledTask; now function schedule(cronExpression: string, func: ((now: Date | "manual" | "init") => void) | string, options?: ScheduleOptions)... [npmjs.com](https://www.npmjs.com/package/node-cron/v/3.0.0)
- **Signature changed** `ScheduledTask`  

Was interface ScheduledTask; now interface ScheduledTask extends EventEmitter. [npmjs.com](https://www.npmjs.com/package/node-cron/v/3.0.0)

And 4 more in this version.

### node-cron 2.0.0 breaking changes

node-cron 2.0.0, released September 10, 2018: 3 breaking changes.

- **Removed** `ImmediateStart`  

ImmediateStart is removed and replaced by an options parameter. Use the scheduled option to get the same behavior. [github.com](https://github.com/node-cron/node-cron/releases/tag/v2.0.0)
- **Signature changed** `schedule`  

Was function schedule(a: string, func: () => void, immediateStart?: boolean): ScheduledTask; now function schedule(cronExpression: string, func: () => void, options?: ScheduleOptions): ScheduledTask. [npmjs.com](https://www.npmjs.com/package/node-cron/v/2.0.0)

And 1 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
