# ตัวอย่าง Cron

เรียกดูตัวอย่างตารางเวลา cron ทั่วไป: ทุกนาที ทุกชั่วโมง ทุกวัน ทุกสัปดาห์ ทุกเดือน และอื่น ๆ แต่ละตัวอย่างแสดงนิพจน์ เวลารันถัดไป และบรรทัด crontab พร้อมใช้งาน

## นาที

- [ทุกนาที](https://crontab.run/th/every-minute.md) — `* * * * *`
- [ทุก 1 นาที](https://crontab.run/th/every-1-minute.md) — `* * * * *`
- [ทุก 2 นาที](https://crontab.run/th/every-2-minutes.md) — `*/2 * * * *`
- [ทุก 3 นาที](https://crontab.run/th/every-3-minutes.md) — `*/3 * * * *`
- [ทุก 4 นาที](https://crontab.run/th/every-4-minutes.md) — `*/4 * * * *`
- [ทุก 5 นาที](https://crontab.run/th/every-5-minutes.md) — `*/5 * * * *`
- [ทุก 6 นาที](https://crontab.run/th/every-6-minutes.md) — `*/6 * * * *`
- [ทุก 7 นาที](https://crontab.run/th/every-7-minutes.md) — `*/7 * * * *`
- [ทุก 8 นาที](https://crontab.run/th/every-8-minutes.md) — `*/8 * * * *`
- [ทุก 9 นาที](https://crontab.run/th/every-9-minutes.md) — `*/9 * * * *`
- [ทุก 10 นาที](https://crontab.run/th/every-10-minutes.md) — `*/10 * * * *`
- [ทุก 15 นาที](https://crontab.run/th/every-15-minutes.md) — `*/15 * * * *`
- [ทุก 20 นาที](https://crontab.run/th/every-20-minutes.md) — `*/20 * * * *`
- [ทุก 30 นาที](https://crontab.run/th/every-30-minutes.md) — `*/30 * * * *`
- [ทุก 60 นาที](https://crontab.run/th/every-60-minutes.md) — `0 * * * *`
- [ทุกสองนาที](https://crontab.run/th/every-two-minute.md) — `*/2 * * * *`
- [ทุกนาทีคู่](https://crontab.run/th/every-even-minute.md) — `*/2 * * * *`
- [ทุกสามนาที](https://crontab.run/th/every-three-minutes.md) — `*/3 * * * *`
- [ทุกนาทีคี่](https://crontab.run/th/every-uneven-minute.md) — `1-59/2 * * * *`
- [ทุกห้านาที](https://crontab.run/th/every-five-minutes.md) — `*/5 * * * *`
- [ทุกสิบนาที](https://crontab.run/th/every-ten-minutes.md) — `*/10 * * * *`

## ชั่วโมง

- [ทุกชั่วโมงที่นาทีที่ 30](https://crontab.run/th/every-hour-at-30-minutes.md) — `30 * * * *`
- [ทุกครึ่งชั่วโมง](https://crontab.run/th/every-half-hour.md) — `*/30 * * * *`
- [ทุก 15 นาที](https://crontab.run/th/every-quarter-hour.md) — `*/15 * * * *`
- [ทุก 1 ชั่วโมง](https://crontab.run/th/every-1-hour.md) — `0 * * * *`
- [ทุก 2 ชั่วโมง](https://crontab.run/th/every-2-hours.md) — `0 */2 * * *`
- [ทุก 3 ชั่วโมง](https://crontab.run/th/every-3-hours.md) — `0 */3 * * *`
- [ทุก 4 ชั่วโมง](https://crontab.run/th/every-4-hours.md) — `0 */4 * * *`
- [ทุก 6 ชั่วโมง](https://crontab.run/th/every-6-hours.md) — `0 */6 * * *`
- [ทุก 8 ชั่วโมง](https://crontab.run/th/every-8-hours.md) — `0 */8 * * *`
- [ทุก 12 ชั่วโมง](https://crontab.run/th/every-12-hours.md) — `0 */12 * * *`
- [ทุกชั่วโมง](https://crontab.run/th/every-hour.md) — `0 * * * *`
- [ทุกสองชั่วโมง](https://crontab.run/th/every-two-hours.md) — `0 */2 * * *`
- [ทุกชั่วโมงคู่](https://crontab.run/th/every-even-hour.md) — `0 */2 * * *`
- [ทุก ๆ ชั่วโมงเว้นชั่วโมง](https://crontab.run/th/every-other-hour.md) — `0 */2 * * *`
- [ทุกสามชั่วโมง](https://crontab.run/th/every-three-hours.md) — `0 */3 * * *`
- [ทุกหกชั่วโมง](https://crontab.run/th/every-six-hours.md) — `0 */6 * * *`
- [ทุกชั่วโมงคี่](https://crontab.run/th/every-uneven-hour.md) — `0 1-23/2 * * *`
- [ช่วงชั่วโมง](https://crontab.run/th/hour-range.md) — `0 9-17 * * *`
- [ระหว่างชั่วโมงที่กำหนด](https://crontab.run/th/between-certain-hours.md) — `0 9-17 * * *`

## วัน

- [ทุกวัน](https://crontab.run/th/every-day.md) — `0 0 * * *`
- [รายวัน](https://crontab.run/th/daily.md) — `0 0 * * *`
- [วันละครั้ง](https://crontab.run/th/once-a-day.md) — `0 0 * * *`
- [ทุกคืน](https://crontab.run/th/every-night.md) — `0 0 * * *`
- [ทุกวันเวลา 01:00 น.](https://crontab.run/th/every-day-at-1am.md) — `0 1 * * *`
- [ทุกวันเวลา 02:00 น.](https://crontab.run/th/every-day-at-2am.md) — `0 2 * * *`
- [ทุกวันเวลา 08:00 น.](https://crontab.run/th/every-day-8am.md) — `0 8 * * *`
- [ทุกเช้า](https://crontab.run/th/every-morning.md) — `0 9 * * *`
- [ทุกเที่ยงคืน](https://crontab.run/th/every-midnight.md) — `0 0 * * *`
- [ทุกวันเที่ยงคืน](https://crontab.run/th/every-day-at-midnight.md) — `0 0 * * *`
- [ทุกคืนเที่ยงคืน](https://crontab.run/th/every-night-at-midnight.md) — `0 0 * * *`
- [ทุกวันอาทิตย์](https://crontab.run/th/every-sunday.md) — `0 0 * * 0`
- [ทุกวันจันทร์](https://crontab.run/th/every-monday.md) — `0 0 * * 1`
- [ทุกวันอังคาร](https://crontab.run/th/every-tuesday.md) — `0 0 * * 2`
- [ทุกวันพุธ](https://crontab.run/th/every-wednesday.md) — `0 0 * * 3`
- [ทุกวันพฤหัสบดี](https://crontab.run/th/every-thursday.md) — `0 0 * * 4`
- [ทุกวันศุกร์](https://crontab.run/th/every-friday.md) — `0 0 * * 5`
- [ทุกวันศุกร์เที่ยงคืน](https://crontab.run/th/every-friday-at-midnight.md) — `0 0 * * 5`
- [ทุกวันเสาร์](https://crontab.run/th/every-saturday.md) — `0 0 * * 6`
- [ทุกวันทำงาน](https://crontab.run/th/every-weekday.md) — `0 0 * * 1-5`
- [ทุกสุดสัปดาห์](https://crontab.run/th/every-weekend.md) — `0 0 * * 6,0`

## อื่น ๆ

- [รายสัปดาห์](https://crontab.run/th/weekly.md) — `0 0 * * 0`
- [สัปดาห์ละครั้ง](https://crontab.run/th/once-a-week.md) — `0 0 * * 0`
- [ทุกเดือน](https://crontab.run/th/every-month.md) — `0 0 1 * *`
- [รายเดือน](https://crontab.run/th/monthly.md) — `0 0 1 * *`
- [เดือนละครั้ง](https://crontab.run/th/once-a-month.md) — `0 0 1 * *`
- [ทุก ๆ สองเดือน](https://crontab.run/th/every-other-month.md) — `0 0 1 */2 *`
- [ทุกไตรมาส](https://crontab.run/th/every-quarter.md) — `0 0 1 */3 *`
- [ทุก 6 เดือน](https://crontab.run/th/every-6-months.md) — `0 0 1 */6 *`
- [ทุกปี](https://crontab.run/th/every-year.md) — `0 0 1 1 *`
- [รายปี](https://crontab.run/th/yearly.md) — `0 0 1 1 *`
- [รายปี](https://crontab.run/th/annually.md) — `0 0 1 1 *`
- [เวลา 05:00 น.](https://crontab.run/th/at-5am.md) — `0 5 * * *`
- [เวลา 08:00 น.](https://crontab.run/th/at-8am.md) — `0 8 * * *`
- [เวลา 12:00 น.](https://crontab.run/th/at-12pm.md) — `0 12 * * *`
- [เวลา 18:00 น.](https://crontab.run/th/at-6pm.md) — `0 18 * * *`
- [เวลา 21:00 น.](https://crontab.run/th/at-9pm.md) — `0 21 * * *`
- [เวลา 03:00 น. ทุกวันอาทิตย์](https://crontab.run/th/at-3am-on-sundays.md) — `0 3 * * 0`
- [เวลา 09:00 น. ทุกวันจันทร์](https://crontab.run/th/at-9am-on-mondays.md) — `0 9 * * 1`
- [เวลา 18:00 น. ทุกวันศุกร์](https://crontab.run/th/at-6pm-on-fridays.md) — `0 18 * * 5`
- [ทุกวันทำงานเวลา 09:00 น.](https://crontab.run/th/every-weekday-at-9am.md) — `0 9 * * 1-5`

Canonical: https://crontab.run/th/examples

---

Maintained by Jsmon — https://jsmon.sh
