# node-schedule/node-schedule

A cron-like and not-cron-like job scheduler for Node.

Repository: https://github.com/node-schedule/node-schedule
Canonical: https://ross.abutalabs.com/products/node-schedule
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-06-19T14:45:58+00:00

## Health v2 (maintenance only)
Score: 35/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 27, release rhythm 8, longevity 100
- inputs: {"age_days": 5593, "days_push": 440, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9206, forks 501 (observed 2026-08-28T04:10:28.923802+00:00)

## What it is
Node Schedule is a cron-like and not-cron-like job scheduler library for Node.js that lets you schedule arbitrary functions at specific dates with optional recurrence rules. It uses a single timer for efficiency and works cross-platform, including Windows, but only schedules jobs in-process while your script is running.

## Use cases
- run a function at the :20 and :50 of every hour on the third Tuesday of each month
- schedule recurring jobs with cron expressions in a Node.js app
- trigger a task at a specific date and time
- schedule jobs on Windows where real cron is unavailable
- cancel or reschedule jobs dynamically at runtime

## When to choose
- you need time-based scheduling with cron syntax or custom recurrence rules in Node.js
- you want lightweight in-process scheduling without external dependencies
- you need Windows support for scheduled jobs
- you want fine-grained control like canceling or rescheduling jobs via events

## When to avoid
- you only need simple interval-based execution like 'every 5 minutes' (use toad-scheduler)
- you need jobs to persist across script restarts (use real cron, agenda, or bree)
- you need durable jobs with locking for multi-node deployments
- your process is short-lived and jobs must outlive it

## Facets
- artifact type: library
- maturity: stable
- function: scheduling, workflow-automation
- domain: developer-tools, backend
- platform: cross-platform
- tags: cron, job-scheduler, in-memory, recurrence-rules, javascript, automation, nodejs

## Member repositories
- node-schedule/node-schedule (main) score 35

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:28.923802+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:23:17.668046+00:00, confidence not recorded.
  - readme: https://github.com/node-schedule/node-schedule (fetched 2026-08-28T04:10:28.923802+00:00, sha 795647d57771)
  - registry_npm: https://registry.npmjs.org/node-schedule (fetched 2026-08-29T08:23:29.672922+00:00, sha ac54c0d5d3ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
