SnapSum
← Back to Blog
Developer4 min read

Cron Expression Parser - How to Read and Write Cron Schedules

Cron expressions control scheduled tasks on Linux servers, cloud platforms (AWS EventBridge, GCP Cloud Scheduler), and CI/CD pipelines. But cron syntax is cryptic - even experienced developers struggle to read 0 6 * * 1-5 at a glance. A cron parser translates the expression into plain English and shows upcoming execution times.

Cron Expression Format

A standard 5-field cron expression:

FieldAllowed ValuesSpecial Characters
Minute0-59* , - /
Hour0-23* , - /
Day of month1-31* , - / ? L W
Month1-12 or JAN-DEC* , - /
Day of week0-6 or SUN-SAT* , - / ? L #

Common Cron Expressions

  • * * * * * - every minute
  • 0 * * * * - every hour (at minute 0)
  • 0 6 * * * - every day at 6:00 AM
  • 0 6 * * 1-5 - weekdays at 6:00 AM
  • */15 * * * * - every 15 minutes
  • 0 0 1 * * - first day of every month at midnight
  • 0 0 * * 0 - every Sunday at midnight
  • 30 4 * * 1 - every Monday at 4:30 AM

Special Characters

  • * - any value (every minute, every hour, etc.)
  • , - list: 1,15 means the 1st and 15th
  • - - range: 1-5 means 1 through 5
  • / - step: */10 means every 10th; 0-30/5 means 0,5,10,15,20,25,30
  • ? - no specific value (day fields only, when you specify one day field and want "any" in the other)
  • L - last (last day of month, or last Saturday)
  • W - nearest weekday to the given day
  • # - nth day: 6#3 means the 3rd Friday

Free Online Cron Parser

Use SnapSum Cron Parser to translate cron expressions into human-readable descriptions and see upcoming execution times.

  • Enter any cron expression and get a plain-English description
  • Shows the next 5-10 execution dates and times
  • Supports 5-field (standard) and 6-field (with seconds) formats
  • Validates your expression and highlights errors

Step-by-Step: Parse a Cron Expression

  1. Open Cron Parser.
  2. Enter your cron expression (e.g., 0 9 * * 1-5).
  3. Read the plain-English description: "At 09:00, Monday through Friday."
  4. Check the next execution times to verify correctness.

6-Field Cron (with Seconds)

Some platforms (AWS EventBridge, Spring, Quartz) use a 6-field cron with a seconds prefix. Example: 0 0 6 * * ? means "every day at 6:00:00 AM." The parser detects and handles both formats.