Logo

Cron Job Tester

Instantly validate cron expressions, see human-readable descriptions, and generate the next 10 scheduled execution times.

MinHourDayMonWeek

Schedule Meaning

""

Common Schedules

About the Tool

Writing a cron schedule can feel like guessing a secret code. You type a few stars and numbers, but you are never totally sure if your job will run every minute or just once a year. Our cron tester solves this problem. It acts as an instant translator that turns confusing cron schedules into plain English.

I built this tool because I got tired of waiting for a scheduled task to fire just to see if I wrote the code correctly. Now, you can test cron job online without waiting. Just type your code, and the tool will show you exactly what it means and exactly when it will run next.

How to Use

Checking your schedule is fast and easy. Here is how you do it.

  1. Enter your code: Type your five-part cron code into the big text box at the top.
  2. Read the translation: The tool instantly reads your code and shows a plain English sentence right below it.
  3. Check the dates: Look at the list to see the next 10 exact dates and times your job will run.
  4. Verify on server (optional): Click the "Verify on Server" button to see the exact times your job will trigger in UTC time.

Privacy & Security

Testing your job schedules should be totally secure.

When you use our cron expression parser, almost everything happens directly in your browser. This means your schedules stay on your device. If you use the "Verify on Server" feature, we only send the short string of characters to our backend to check the UTC math. We never save your schedules, log your activity, or track your IP address. As soon as the test is done, the data is gone forever.

Features

This is more than just a basic checker. Here is what makes this cron validator online special.

  • Instant Translation: See a simple, human-readable sentence as soon as you type.
  • Next 10 Runs: Automatically lists the next ten dates and times your job will fire.
  • Local Browser Time: Shows the schedule in your own computer's local time zone.
  • UTC Server Math: Provides a strict server check to make sure your job runs correctly in UTC time, which most real servers use.
  • Quick Buttons: Click common examples like "Every hour" to fill the box instantly.

Technical Specifications

For developers who want to know how the parsing engine works.

System PartDetails
Local Parsing EngineBrowser-based JavaScript validation
Server Check EnginePython croniter library
Time FormatsLocal system time and UTC
Supported PartsMinute, Hour, Day of Month, Month, Day of Week
Special CharactersAsterisk (*), Comma (,), Hyphen (-), Slash (/)

Frequently Asked Questions

What does the asterisk (*) mean in a cron schedule?

An asterisk means "every". For example, an asterisk in the minute slot means the job runs every single minute. An asterisk in the hour slot means it runs every hour.

Why do I need to check my schedule on the server?

Your computer shows time differently than a cloud server. Your local computer uses your current timezone, but most cloud servers use UTC time. The server check shows you the exact UTC times to prevent nasty surprises.

What are the five parts of a basic cron code?

The standard format uses five spaces: Minute (0-59), Hour (0-23), Day of the Month (1-31), Month (1-12), and Day of the Week (0-6, where 0 is Sunday).

Can I use dashes and slashes?

Yes. A dash creates a range (like 1-5 for Monday through Friday). A slash skips numbers (like */15 to run something every 15 minutes). The tool handles both perfectly.

Related Tools You Might Like

Why reading run times beats validating cron syntax

A validator tells you an expression is well formed. It cannot tell you the expression means what you intended, and that is where the real errors live.

Consider `0 9 * * *` and `9 0 * * *`. Both are perfectly valid. The first runs at nine in the morning; the second runs at nine minutes past midnight. A syntax check passes both without comment.

A list of upcoming run times catches it instantly. You read "09:00, 09:00, 09:00" or you read "00:09, 00:09, 00:09", and the mistake is obvious in a second rather than discovered a week later when a report arrives at the wrong time.

This is the whole argument for a tester over a validator: you are checking behaviour, not grammar.

The day-of-week overlap that produces unwanted runs

One quirk in cron catches almost everyone, and a run list is the quickest way to see it.

When both day-of-month and day-of-week hold a value, cron combines them with OR. `0 0 1 * 1` does not mean "the 1st, if it is a Monday". It means midnight on the 1st of every month, and separately midnight on every Monday.

Written out that is roughly sixty runs a year where the author expected twelve. If the job sends email, posts something or charges a card, the consequences arrive quickly and in public.

The run list exposes it immediately: you asked for monthly and the dates come back weekly. The fix is to leave one of the two fields as an asterisk, and where you genuinely need a weekday on a specific date, run daily and check the date in the script.

Why the timezone matters more than the expression

An expression can be exactly right and still fire at the wrong moment, and this is the failure that causes real incidents.

Cron runs against a clock — the server's, unless the scheduler lets you set a timezone. The times this tool reports are computed on our server, so treat them as confirming the pattern rather than predicting your wall clock.

The dangerous part is daylight saving. Where it applies, one hour disappears in spring and one hour repeats in autumn. A job scheduled at 2:30am is skipped entirely on one of those days and runs twice on the other.

For a report that is a nuisance. For anything that moves money, sends messages or computes a daily total, a double run is an incident — and it happens on a Sunday morning with nobody watching. Two cheap defences: schedule important jobs outside the 1am-to-3am window, and set the scheduler to UTC where you can, since UTC has no daylight saving at all.

What a correct schedule still does not guarantee

Having verified the times, it is worth knowing which failures remain, because they are the ones that actually break jobs.

Overlapping runs. If a job takes longer than its interval, cron starts the next copy anyway. Two instances writing to the same file or table is how data gets corrupted, and nothing warns you. The script needs its own lock.

Silent failure. Errors go to stderr, which cron mails to an address almost nobody configures, so they vanish. A job can be broken for months while the schedule remains perfect. Log successes explicitly and alert on their absence rather than on failure.

The environment. Cron runs with a minimal PATH and few variables, so a script that works in your shell can fail immediately under cron. Use absolute paths and set the variables inside the script.

A tester confirms the when. These are the why-it-did-not-work, and no expression check reaches them.

How to use the Cron Tester

  1. Paste your cron expression. It is sent to our server to be evaluated.
  2. Read the run times, checking the intervals rather than only the absolute clock times.
  3. Confirm the minute field is not an asterisk if you wanted one run per hour.
  4. Look further ahead than five runs — month boundaries and February break patterns.
  5. Verify the absolute times against your scheduler's own timezone setting.

What this tool handles

Next run times listed

Shows when the schedule actually fires, which catches errors a validator misses.

Syntax validation

Flags a malformed expression before you install it anywhere.

Step and range support

Handles intervals, lists and ranges as standard cron defines them.

Evaluated on our server

The expression is transmitted; the returned times are in the server's reckoning.

Frequently asked questions

Which timezone are the next run times in?

▼
They are computed on our server, so they reflect its reckoning rather than wherever your job will actually run. Use the intervals between runs to verify the pattern, and confirm the absolute times against your own scheduler's timezone setting.

My expression validates but fires at the wrong time. Why?

▼
Almost always the field order. Minute comes first, then hour. `0 9` is nine in the morning; `9 0` is midnight past nine minutes. Both are valid, which is why a validator alone will not catch it — reading the run times does.

Why does my job run far more often than I expected?

▼
An asterisk left where a value belonged. Setting the hour to 9 but leaving the minute as an asterisk gives sixty runs between nine and ten, not one. The run list makes this immediately obvious.

Why do I get runs on dates I did not ask for?

▼
Because day-of-month and day-of-week combine with OR, not AND. Set both and you get every matching date plus every matching weekday. Leave one as an asterisk unless you genuinely want both sets.

Is Sunday 0 or 7?

▼
Most implementations accept either, with the week numbered from Sunday as 0. Some schedulers differ, which is a real portability problem — an expression that runs on Monday in one system can run on Sunday in another. Check the run list rather than trusting the number.

Does a valid expression mean the job will work?

▼
No. It means the schedule is well formed. Whether the job runs depends on the scheduler being active, the command path resolving, the environment having what the script needs, and the previous run having finished. None of that is in the expression.

Can I test a six-field expression with seconds?

▼
A seconds field is a non-standard extension that some schedulers add and plain cron does not have. If your platform supports it, test there. Standard cron resolves to one minute and nothing finer.

What about `L` for the last day of the month?

▼
It works on some schedulers as an extension and fails on others. There is no standard expression for the last day. The portable approach is to run daily and have the script check whether tomorrow is the 1st before doing anything.

Is my expression sent to a server?

▼
Yes. The next-run calculation happens on our server, so the expression is transmitted. It is a schedule string rather than data, but it can hint at how your systems are organised, which is worth knowing.

How many future runs should I check?

▼
More than you think. A pattern that looks right over the next five runs can be wrong at a month boundary, on the 31st, or in February. Looking at a longer list is how you catch a schedule that is correct most of the time.
Advertisement