Logo
FreeMetaTools

Free Cron Expression Generator

Generate standard cron expressions interactively. Select intervals for minutes, hours, days, months, and weekdays to build your schedule.

What is a Cron Expression?

A cron expression is a string composed of 5 (or sometimes 6) fields separated by white space that represents a set of times, normally as a schedule to execute a routine. They are used extensively by the cron daemon in Unix-like systems for task scheduling.

Our Cron Expression Generator makes it easy to build these strings visually without needing to refer to manuals.

The Cron Format

The standard cron format uses 5 fields:

  1. Minute (0 - 59)
  2. Hour (0 - 23)
  3. Day of Month (1 - 31)
  4. Month (1 - 12)
  5. Day of Week (0 - 7) (0 and 7 usually both mean Sunday)

Special Characters

  • * (Asterisk): Matches any value. (e.g., * in the minute field means “every minute”).
  • , (Comma): Value list separator. (e.g., 1,15 in the minute field means “minute 1 and minute 15”).
  • - (Hyphen): Range of values. (e.g., 1-5 in the day of week field means “Monday to Friday”).
  • / (Slash): Step values. (e.g., */5 in the minute field means “every 5 minutes”).

Frequently Asked Questions

What is a cron expression?

A cron expression is a string representing a schedule, consisting of 5 fields: minute, hour, day of month, month, and day of week, separated by spaces.

What does * mean in cron?

The asterisk (*) wildcard means "every" or "any". For example, * in the hour field means "every hour".

How do I run a cron job every 5 minutes?

You use the step value: */5 * * * *

Was this tool helpful?

Give us feedback to help improve our online tools.

Thank you for your feedback!