# Cron 示例

浏览常见的 cron 调度示例：每分钟、每小时、每天、每周、每月等。每个示例展示表达式、下次运行时间和即用型 crontab 行。

## 分钟

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

## 小时

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

## 天

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

## 其他

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

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

---

Maintained by Jsmon — https://jsmon.sh
