Starting points for your own code. Run them in the environment shown below.
Node.js 22+ · ES module (.mjs)
Current inputs apply only to fields used by the example. Selected files are not embedded.
Install dependencies
npm install cron-parser cronstrue
import { CronExpressionParser } from "cron-parser";
import cronstrue from "cronstrue";
import "cronstrue/locales/ko.js";
const expression = "0 9 * * 1";
const schedule = CronExpressionParser.parse(expression, { tz: "Asia/Seoul" });
console.log(cronstrue.toString(expression, { locale: "ko" }));
for (let i = 0; i < 5; i++) console.log(schedule.next().toISOString());
Put it to work
For 09:00 on weekdays, use 0 9 * * 1-5 with Asia/Seoul selected.
Details that matter
Format and meaning
Use five-field Unix Cron: minute, hour, day of month, month, weekday. Seconds and Quartz syntax are not supported.
Using it correctly
When both day-of-month and weekday are restricted, either matching field selects a day.
Common pitfalls
This tool calculates schedules; it does not schedule or execute jobs.
Supported scope and limits
Next 10 runs; numeric fields and *, /, -, , syntax
Split inputs that exceed the limit. If a format or algorithm is unsupported, choose a tool that matches your requirements instead of silently changing the format.