เครื่องคิดเลข
Cron Explainer
เครื่องถอดรหัส Cron expression ฟรี วาง Cron 5 ฟิลด์ และรับคำอธิบายเป็นภาษาอังกฤษธรรมดาว่าเมื่อใดที่มันจะทำงาน สำหรับ pg_cron, Linux crontab, GitHub Actions
หมายเหตุจากบรรณาธิการ
Understanding · Five fields, a whole schedule.
บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล
คำถามที่พบบ่อย
Quick answers.
›What are the 5 cron fields?
minute (0-59), hour (0-23), day-of-month (1-31), month (1-12), day-of-week (0-7, both 0 and 7 mean Sunday).
›How do I run something every 15 minutes?
Use */15 * * * * — that's 'every 15 minutes, every hour, every day'.
›What does the '?' mean?
Quartz/Java cron uses '?' to mean 'no specific value' in either day-of-month or day-of-week. Standard Unix cron doesn't use it.
›Day of week — is Sunday 0 or 7?
Both, in standard Unix cron. Some systems (Quartz) use 1-7 with Sunday = 1. We follow Unix convention.
›Is the explainer free?
Yes — fully free, no signup, runs in your browser.
ผู้คนยังค้นหา
บทความที่เกี่ยวข้อง
จากบล็อก(2)
Use with
What people reach for next.
เครื่องมือที่เกี่ยวข้อง
More in this room.
- เครื่องมือแปลงเขตเวลาแปลงเวลาระหว่างเขตเวลาใดๆ สองเขตเวลา
- เครื่องคำนวณอายุอายุที่แน่นอนเป็นปี เดือน วัน — และอื่นๆ
- เครื่องคำนวณความแตกต่างของวันที่วัน สัปดาห์ เดือน ระหว่างสองวันที่ใดก็ได้
- เครื่องคำนวณวันทำการนับวันทำการ (จันทร์-ศุกร์) ระหว่างวันที่
- เครื่องมือแปลง TimestampUnix timestamps ↔ วันที่ที่มนุษย์อ่านได้
- เครื่องคำนวณวันหยุดวันหยุดนักขัตฤกษ์สำหรับทุกประเทศและทุกปี