# Cron 表達式產生器

使用互動式工具產生和理解 cron 表達式。查看下次執行時間，取得可讀描述，瀏覽常見的 cron 排程範例。

Cron 表達式是由五個以空格分隔的欄位組成的字串，用於表示一個排程計劃。每個欄位指定一個時間單位——分鐘、小時、日期、月份和星期幾。Cron 表達式被 Unix 類系統上的 cron 背景程式用來定期在固定時間、日期或間隔執行命令或腳本。

## Cron 範例

### 分鐘

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

### 小時

- [每小時第30分鐘](https://crontab.run/zh-tw/every-hour-at-30-minutes) — `30 * * * *`
- [每半小時](https://crontab.run/zh-tw/every-half-hour) — `*/30 * * * *`
- [每刻鐘](https://crontab.run/zh-tw/every-quarter-hour) — `*/15 * * * *`
- [每1小時](https://crontab.run/zh-tw/every-1-hour) — `0 * * * *`
- [每2小時](https://crontab.run/zh-tw/every-2-hours) — `0 */2 * * *`
- [每3小時](https://crontab.run/zh-tw/every-3-hours) — `0 */3 * * *`
- [每4小時](https://crontab.run/zh-tw/every-4-hours) — `0 */4 * * *`
- [每6小時](https://crontab.run/zh-tw/every-6-hours) — `0 */6 * * *`
- [每8小時](https://crontab.run/zh-tw/every-8-hours) — `0 */8 * * *`
- [每12小時](https://crontab.run/zh-tw/every-12-hours) — `0 */12 * * *`
- [每小時](https://crontab.run/zh-tw/every-hour) — `0 * * * *`
- [每兩小時](https://crontab.run/zh-tw/every-two-hours) — `0 */2 * * *`
- [每偶數小時](https://crontab.run/zh-tw/every-even-hour) — `0 */2 * * *`
- [每隔一小時](https://crontab.run/zh-tw/every-other-hour) — `0 */2 * * *`
- [每三小時](https://crontab.run/zh-tw/every-three-hours) — `0 */3 * * *`
- [每六小時](https://crontab.run/zh-tw/every-six-hours) — `0 */6 * * *`
- [每奇數小時](https://crontab.run/zh-tw/every-uneven-hour) — `0 1-23/2 * * *`
- [小時範圍](https://crontab.run/zh-tw/hour-range) — `0 9-17 * * *`
- [在特定小時之間](https://crontab.run/zh-tw/between-certain-hours) — `0 9-17 * * *`

### 天

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

### 其他

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

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

---

Maintained by Jsmon — https://jsmon.sh
