# Cron 表达式生成器

使用交互式工具生成和理解 cron 表达式。查看下次运行时间，获取可读描述，浏览常见的 cron 调度示例。

Cron 表达式是由五个以空格分隔的字段组成的字符串，用于表示一个调度计划。每个字段指定一个时间单位——分钟、小时、日期、月份和星期几。Cron 表达式被 Unix 类系统上的 cron 守护进程用来定期在固定时间、日期或间隔运行命令或脚本。

## Cron 示例

### 分钟

- [每分钟](https://crontab.run/zh-cn/every-minute) — `* * * * *`
- [每1分钟](https://crontab.run/zh-cn/every-1-minute) — `* * * * *`
- [每2分钟](https://crontab.run/zh-cn/every-2-minutes) — `*/2 * * * *`
- [每3分钟](https://crontab.run/zh-cn/every-3-minutes) — `*/3 * * * *`
- [每4分钟](https://crontab.run/zh-cn/every-4-minutes) — `*/4 * * * *`
- [每5分钟](https://crontab.run/zh-cn/every-5-minutes) — `*/5 * * * *`
- [每6分钟](https://crontab.run/zh-cn/every-6-minutes) — `*/6 * * * *`
- [每7分钟](https://crontab.run/zh-cn/every-7-minutes) — `*/7 * * * *`
- [每8分钟](https://crontab.run/zh-cn/every-8-minutes) — `*/8 * * * *`
- [每9分钟](https://crontab.run/zh-cn/every-9-minutes) — `*/9 * * * *`
- [每10分钟](https://crontab.run/zh-cn/every-10-minutes) — `*/10 * * * *`
- [每15分钟](https://crontab.run/zh-cn/every-15-minutes) — `*/15 * * * *`
- [每20分钟](https://crontab.run/zh-cn/every-20-minutes) — `*/20 * * * *`
- [每30分钟](https://crontab.run/zh-cn/every-30-minutes) — `*/30 * * * *`
- [每60分钟](https://crontab.run/zh-cn/every-60-minutes) — `0 * * * *`
- [每两分钟](https://crontab.run/zh-cn/every-two-minute) — `*/2 * * * *`
- [每偶数分钟](https://crontab.run/zh-cn/every-even-minute) — `*/2 * * * *`
- [每三分钟](https://crontab.run/zh-cn/every-three-minutes) — `*/3 * * * *`
- [每奇数分钟](https://crontab.run/zh-cn/every-uneven-minute) — `1-59/2 * * * *`
- [每五分钟](https://crontab.run/zh-cn/every-five-minutes) — `*/5 * * * *`
- [每十分钟](https://crontab.run/zh-cn/every-ten-minutes) — `*/10 * * * *`

### 小时

- [每小时第30分钟](https://crontab.run/zh-cn/every-hour-at-30-minutes) — `30 * * * *`
- [每半小时](https://crontab.run/zh-cn/every-half-hour) — `*/30 * * * *`
- [每刻钟](https://crontab.run/zh-cn/every-quarter-hour) — `*/15 * * * *`
- [每1小时](https://crontab.run/zh-cn/every-1-hour) — `0 * * * *`
- [每2小时](https://crontab.run/zh-cn/every-2-hours) — `0 */2 * * *`
- [每3小时](https://crontab.run/zh-cn/every-3-hours) — `0 */3 * * *`
- [每4小时](https://crontab.run/zh-cn/every-4-hours) — `0 */4 * * *`
- [每6小时](https://crontab.run/zh-cn/every-6-hours) — `0 */6 * * *`
- [每8小时](https://crontab.run/zh-cn/every-8-hours) — `0 */8 * * *`
- [每12小时](https://crontab.run/zh-cn/every-12-hours) — `0 */12 * * *`
- [每小时](https://crontab.run/zh-cn/every-hour) — `0 * * * *`
- [每两小时](https://crontab.run/zh-cn/every-two-hours) — `0 */2 * * *`
- [每偶数小时](https://crontab.run/zh-cn/every-even-hour) — `0 */2 * * *`
- [每隔一小时](https://crontab.run/zh-cn/every-other-hour) — `0 */2 * * *`
- [每三小时](https://crontab.run/zh-cn/every-three-hours) — `0 */3 * * *`
- [每六小时](https://crontab.run/zh-cn/every-six-hours) — `0 */6 * * *`
- [每奇数小时](https://crontab.run/zh-cn/every-uneven-hour) — `0 1-23/2 * * *`
- [小时范围](https://crontab.run/zh-cn/hour-range) — `0 9-17 * * *`
- [在特定小时之间](https://crontab.run/zh-cn/between-certain-hours) — `0 9-17 * * *`

### 天

- [每天](https://crontab.run/zh-cn/every-day) — `0 0 * * *`
- [每日](https://crontab.run/zh-cn/daily) — `0 0 * * *`
- [每天一次](https://crontab.run/zh-cn/once-a-day) — `0 0 * * *`
- [每晚](https://crontab.run/zh-cn/every-night) — `0 0 * * *`
- [每天凌晨1点](https://crontab.run/zh-cn/every-day-at-1am) — `0 1 * * *`
- [每天凌晨2点](https://crontab.run/zh-cn/every-day-at-2am) — `0 2 * * *`
- [每天上午8点](https://crontab.run/zh-cn/every-day-8am) — `0 8 * * *`
- [每天早上](https://crontab.run/zh-cn/every-morning) — `0 9 * * *`
- [每个午夜](https://crontab.run/zh-cn/every-midnight) — `0 0 * * *`
- [每天午夜](https://crontab.run/zh-cn/every-day-at-midnight) — `0 0 * * *`
- [每晚午夜](https://crontab.run/zh-cn/every-night-at-midnight) — `0 0 * * *`
- [每周日](https://crontab.run/zh-cn/every-sunday) — `0 0 * * 0`
- [每周一](https://crontab.run/zh-cn/every-monday) — `0 0 * * 1`
- [每周二](https://crontab.run/zh-cn/every-tuesday) — `0 0 * * 2`
- [每周三](https://crontab.run/zh-cn/every-wednesday) — `0 0 * * 3`
- [每周四](https://crontab.run/zh-cn/every-thursday) — `0 0 * * 4`
- [每周五](https://crontab.run/zh-cn/every-friday) — `0 0 * * 5`
- [每周五午夜](https://crontab.run/zh-cn/every-friday-at-midnight) — `0 0 * * 5`
- [每周六](https://crontab.run/zh-cn/every-saturday) — `0 0 * * 6`
- [每个工作日](https://crontab.run/zh-cn/every-weekday) — `0 0 * * 1-5`
- [每个周末](https://crontab.run/zh-cn/every-weekend) — `0 0 * * 6,0`

### 其他

- [每周](https://crontab.run/zh-cn/weekly) — `0 0 * * 0`
- [每周一次](https://crontab.run/zh-cn/once-a-week) — `0 0 * * 0`
- [每月](https://crontab.run/zh-cn/every-month) — `0 0 1 * *`
- [每月](https://crontab.run/zh-cn/monthly) — `0 0 1 * *`
- [每月一次](https://crontab.run/zh-cn/once-a-month) — `0 0 1 * *`
- [每隔一个月](https://crontab.run/zh-cn/every-other-month) — `0 0 1 */2 *`
- [每季度](https://crontab.run/zh-cn/every-quarter) — `0 0 1 */3 *`
- [每6个月](https://crontab.run/zh-cn/every-6-months) — `0 0 1 */6 *`
- [每年](https://crontab.run/zh-cn/every-year) — `0 0 1 1 *`
- [每年](https://crontab.run/zh-cn/yearly) — `0 0 1 1 *`
- [每年](https://crontab.run/zh-cn/annually) — `0 0 1 1 *`
- [凌晨5点](https://crontab.run/zh-cn/at-5am) — `0 5 * * *`
- [上午8点](https://crontab.run/zh-cn/at-8am) — `0 8 * * *`
- [中午12点](https://crontab.run/zh-cn/at-12pm) — `0 12 * * *`
- [下午6点](https://crontab.run/zh-cn/at-6pm) — `0 18 * * *`
- [晚上9点](https://crontab.run/zh-cn/at-9pm) — `0 21 * * *`
- [周日凌晨3点](https://crontab.run/zh-cn/at-3am-on-sundays) — `0 3 * * 0`
- [周一上午9点](https://crontab.run/zh-cn/at-9am-on-mondays) — `0 9 * * 1`
- [周五下午6点](https://crontab.run/zh-cn/at-6pm-on-fridays) — `0 18 * * 5`
- [每个工作日上午9点](https://crontab.run/zh-cn/every-weekday-at-9am) — `0 9 * * 1-5`

Canonical: https://crontab.run/zh-cn

---

Maintained by Jsmon — https://jsmon.sh
