Calcubes

Cron Expression Generator

Build cron expressions for Linux, cron jobs, and schedulers. Visual schedule builder for minute, hour, day, month, weekday. Free online cron expression generator.

Cron expression generator

Cron expression

0 9 * * *

What is this?

A cron expression is a string of five (or six) fields that defines when a task runs: minute, hour, day of month, month, day of week. Used by Linux cron, AWS EventBridge, and many schedulers. * means "any." Use / for step (e.g., */15 = every 15). Fields: minute (0-59), hour (0-23), day of month (1-31), month (1-12), day of week (0-7, 0 and 7 = Sunday). Choose a preset or build custom. The tool shows the format and provides examples. Cron is used everywhere: servers, CI/CD, cloud functions. Get the expression right without memorizing the syntax. Visual builder makes it easier.

When to use

Use for scheduled jobs, backups, or automated tasks. Example: 0 9 * * 1-5 = 9am every weekday. */15 * * * * = every 15 minutes. 0 0 1 * * = midnight on the 1st of each month. System admins schedule backups. Developers set up cron jobs. Run reports daily or weekly. Clean up temp files. Sync data on a schedule. Essential for automation. Test your expression before deploying. Use presets for common schedules. Custom for complex needs. Free and always available.

How to use

Choose a preset for common schedules, or select Custom to set each field. The expression format is: minute hour day-of-month month day-of-week. Use * for "any" and / for step (e.g. */15 = every 15 units).

Field reference

  • Minute: 0-59
  • Hour: 0-23 (24h)
  • Day of month: 1-31
  • Month: 1-12
  • Day of week: 0-7 (0 and 7 = Sunday)

Frequently asked questions

What is a cron expression?
A cron expression is a string of five or six fields (minute, hour, day of month, month, day of week) that defines when a task runs. Used by Linux cron, AWS EventBridge, and many schedulers.
What do the five fields mean?
Minute (0-59), hour (0-23), day of month (1-31), month (1-12), day of week (0-7, 0 and 7 = Sunday). Use * for "any" and / for step (e.g. */15 = every 15).
How do I run a job every weekday at 9am?
Use: 0 9 * * 1-5. This means minute 0, hour 9, any day of month, any month, Monday through Friday.

Related tools

View all productivity & utilities