Croner
lastmod 2023-04-12created 2023-04-121 edits
Cron for JavaScript/TypeScript
Features
- Triggers JavaScript functions using cron syntax
- Can evaluate cron expressions and get a list of upcoming run times
- Uses Vixie Cron patterns, with additional support for expressions like "L" (last day of the month/week)
- Also works in Node, Deno, Bun, and more
- Works in the browser as standalone and as UMD/ES-Module
- Can target multiple time zones
- Built-in overrun prevention / error handling
- Supports asynchronous functions
- Includes TypeScript typings
- Scheduled tasks can be paused/resumed/stopped
- Runs in memory. No DB/config file needed
- No dependencies