Human Text to Cron Expression

Convert plain-English schedules into valid cron syntax

Ad placeholder (leaderboard)

From English to cron

Writing cron by hand is error-prone, especially when you only remember the field order roughly. This tool goes the other way from a reader: you describe the schedule in plain English and it builds a valid 5 field cron expression, then explains in one line how it interpreted your words so there are no silent surprises.

How it works

The converter scans your phrase for a few well-defined patterns and fills the five cron fields accordingly. Interval phrases such as “every 15 minutes” or “every 2 hours” map directly to a step expression like */15 * * * *. A clock time, whether 9am, 18:30, noon, or midnight, sets the minute and hour fields. Keywords drive the day fields: “weekday” becomes 1-5, “weekend” becomes 0,6, and named days such as “Monday” become their numbers.

Month names and an ordinal day-of-month such as “on the 1st” are recognised too. Frequency words fill in sensible defaults: “weekly” without a named day becomes Sunday, “monthly” becomes the 1st, and “yearly” becomes January 1.

Every weekday at 9am   ->   0 9 * * 1-5
Every 15 minutes       ->   */15 * * * *
On the 1st at noon     ->   0 12 1 * *

Tips and notes

Be explicit when it matters. If you only say “weekly” the result targets Sunday; add the day name to change it. Setting both a day-of-month and a weekday is allowed, but cron treats them as an OR, so the note will warn you. After generating an expression, paste it into the companion reader tool to confirm it describes exactly the schedule you intended before you ship it.

Ad placeholder (rectangle)