CRON Expression Calculator

Parse and validate CRON expressions, view human-readable descriptions, and see upcoming execution times.

Schedule Builder


Or Enter Manually

Format: minute (0-59) hour (0-23) day-of-month (1-31) month (1-12 or Jan-Dec) day-of-week (0-7 or Sun-Sat)

How to use:

Enter a CRON expression in the standard 5-field format. The calculator will parse it, provide a human-readable description, and show the next 10 execution times.

Published: December 2025 | Author: TriVolt Editorial Team | Last Updated: February 2026

Understanding CRON Expressions

CRON expressions are used to schedule tasks to run automatically at specified times. They consist of five fields that define when a task should execute: minute, hour, day of month, month, and day of week. Understanding CRON syntax is essential for system administrators, DevOps engineers, and developers who need to schedule automated tasks, backups, maintenance jobs, and periodic operations.

CRON expressions provide a powerful and flexible way to define recurring schedules. They support wildcards, ranges, lists, and step values, allowing for complex scheduling patterns. This calculator helps you validate CRON expressions, understand what they mean, and see when they will execute next.

CRON Expression Format

A standard CRON expression consists of five fields separated by spaces:

minute hour day-of-month month day-of-week
FieldRangeDescription
Minute0-59Minute of the hour
Hour0-23Hour of the day (24-hour format)
Day of Month1-31Day of the month
Month1-12 or Jan-DecMonth of the year
Day of Week0-7 or Sun-SatDay of the week (0 or 7 = Sunday)

CRON Special Characters

Asterisk (*)

Matches all values in the field. For example, * in the minute field means "every minute".

Comma (,)

Separates a list of values. For example, 1,3,5 in the day-of-week field means "Monday, Wednesday, Friday".

Hyphen (-)

Defines a range of values. For example, 1-5 in the day-of-week field means "Monday through Friday".

Slash (/)

Defines step values. For example, */15 in the minute field means "every 15 minutes", and 1-10/2 means "every 2 minutes from 1 to 10".

Common CRON Examples

ExpressionDescription
0 0 * * *Every day at midnight
0 9 * * 1-5Every weekday at 9:00 AM
0 0 * * 0Every Sunday at midnight
0 0 1 * *First day of every month at midnight
*/15 * * * *Every 15 minutes
0 */2 * * *Every 2 hours
0 0 1 1 *January 1st at midnight (New Year)
30 14 * * 1,3,5Monday, Wednesday, Friday at 2:30 PM

Day of Month vs Day of Week

In CRON expressions, the day-of-month and day-of-week fields work together with an OR condition. If either field is set to * (all), the task runs when the other field matches. If both fields have specific values, the task runs when either condition is true.

For example, 0 0 1 * * runs on the 1st of every month, while 0 0 * * 0 runs every Sunday. The expression 0 0 1 * 0 runs on both the 1st of every month AND every Sunday.

Practical Applications

Automated Backups

Schedule regular backups using CRON expressions. For example, 0 2 * * * runs a backup every day at 2:00 AM, while 0 0 * * 0 runs a weekly backup every Sunday.

System Maintenance

Schedule maintenance tasks during off-peak hours. For example, 0 3 * * 0 runs maintenance every Sunday at 3:00 AM.

Data Synchronization

Schedule periodic data synchronization. For example, */30 * * * * synchronizes data every 30 minutes.

Log Rotation

Schedule log rotation tasks. For example, 0 0 1 * * rotates logs on the first day of every month.

Monitoring and Alerts

Schedule monitoring checks and alerts. For example, */5 * * * * checks system health every 5 minutes.

Tips for Using This Calculator

  • Enter CRON expressions in the standard 5-field format
  • Use quick examples to get started with common patterns
  • Review the human-readable description to verify your expression
  • Check the next execution times to confirm the schedule
  • Remember that day-of-month and day-of-week use OR logic
  • Month and day-of-week can use names (Jan-Dec, Sun-Sat) or numbers
  • Always test CRON expressions before deploying to production
  • Consider timezone differences when scheduling tasks

Disclaimer

This calculator is provided for educational and informational purposes only. While we strive for accuracy, users should verify all CRON expressions independently, especially for critical production systems. Execution times are calculated based on the current system time and may vary due to timezone settings. We are not responsible for any errors, omissions, or damages arising from the use of this calculator.


Also in Technical