Intosoft 工具

Cron 表达式生成器

创建和验证 cron 表达式用于任务调度

构建表达式

0-59

0-23

1-31

1-12

0-6

0 * * * *

描述: At minute 0 of every hour

常用预设

接下来 5 次执行

  • 1Thu, Mar 19, 12:00 AM
  • 2Thu, Mar 19, 01:00 AM
  • 3Thu, Mar 19, 02:00 AM
  • 4Thu, Mar 19, 03:00 AM
  • 5Thu, Mar 19, 04:00 AM

语法指南

* - 任意值

*/5 - 每 5 个单位

1,3,5 - 特定值

1-5 - 值范围

Instant Results
100% Private
No Installation
Free by Intosoft

About Cron Expression Generator

Cron is a time-based job scheduler in Unix-like operating systems. Our free online Cron Expression Generator helps you build, translate, and validate complex cron schedules without having to memorize the syntax.

How It Works

The tool provides a user-friendly interface to select minutes, hours, days, and months. It translates your selections into a standard 5-part or 6-part cron string (e.g., '0 12 * * ?') and calculates the next upcoming execution dates.

Common Use Cases

  • Scheduling automated database backups
  • Setting up recurring email newsletters or reports
  • Configuring CI/CD pipeline triggers (like GitHub Actions)
  • Automating server maintenance scripts

Frequently Asked Questions

An asterisk means 'every'. For example, an asterisk in the hour field means the job will run every hour.

Standard cron uses 5 fields (minute, hour, day of month, month, day of week). Systems like AWS CloudWatch or Quartz use 6 fields (adding a year field) and support special characters like '?' and 'L'.