Croner

Cron in TypeScript

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Trigger a JS/TS function on a time interval (Vixie Cron syntax) or once on a specific date. Configure max runs, timezone, intervals between executions. Overrun protection. Can query the status (next run, is running, is stopped, etc) and control it (trigger, pause, resume) once initialized. Runs in Node, browser & Bun.

Tradeoffs

Runs entirely in memory - great to have no dependencies, but does mean there’s no persistence of state (which may not matter for idempotent cron triggers).

Is Croner a fit?

Based on Console’s review published on 2023-06-29. Summary updated .

Who it’s for

Developers using TypeScript or JavaScript

Why consider it

Schedule functions to run at specific times or intervals

Keep in mind

Lacks persistence of state due to running entirely in memory

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2023-06-29. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.