# Hexagon/croner

Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No dependencies. Most features. Node. Deno. Bun. Browser.

Repository: https://github.com/Hexagon/croner
Canonical: https://ross.abutalabs.com/products/croner
Homepage: https://croner.56k.guru
Language: TypeScript
License: MIT
License Family: permissive
Topics: cron, scheduling, crontab, crontab-syntax, javascript-cron-parser, javascript-cron-scheduler, scheduler, javascript, timer, parser, typescript, schedule, task, job, deno
Last push: 2026-08-24T23:53:45+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 68, longevity 100
- inputs: {"age_days": 3920, "days_push": 9, "days_rel": 213, "gap_med": 17, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2586, forks 67 (observed 2026-08-28T04:07:02.657292+00:00)

## What it is
Croner is a zero-dependency JavaScript/TypeScript library for triggering functions on cron schedules and evaluating cron expressions. It supports advanced cron features (seconds, year, L, W, #), time zones, and runs in Node.js, Deno, Bun, and browsers.

## Use cases
- run a function every 5 minutes using a cron expression
- parse and validate cron expressions in JavaScript
- get the next N run times of a cron schedule
- schedule tasks in a specific time zone
- schedule jobs in Node.js without dependencies
- check whether a date matches a cron pattern
- schedule one-off tasks at a specific datetime

## When to choose
- you need cron scheduling in Node.js, Deno, Bun, or the browser with zero dependencies
- you need advanced cron syntax like L, W, #, seconds, and year fields
- you need timezone-aware scheduling or overrun protection
- you want a well-tested library used by projects like pm2 and Uptime Kuma

## When to avoid
- you need persistent schedules that survive process restarts (it operates in-memory only)
- you need a distributed job queue or a standalone cron daemon
- you need scheduling outside the JavaScript ecosystem

## Facets
- artifact type: library
- maturity: stable
- function: scheduling, parser, date-time
- domain: developer-tools, web-development
- platform: bun, browser, cross-platform
- tags: cron, crontab, scheduler, zero-dependencies, timezone-support, task-scheduling, automation, nodejs, deno, javascript, typescript

## Member repositories
- Hexagon/croner (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.657292+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-30T02:22:25.893262+00:00, confidence not recorded.
  - readme: https://github.com/Hexagon/croner (fetched 2026-08-28T04:07:02.657292+00:00, sha 284583fa9f36)
  - homepage: https://croner.56k.guru (fetched 2026-08-29T10:05:05.456109+00:00, sha 07041c0c2be6)
  - site_page: https://croner.56k.guru/installation (fetched 2026-08-29T10:05:05.465415+00:00, sha 82042866d760)
- Data as of 2026-08-30T08:39:29.467469+00:00.
