سازندهٔ عبارت cron
نوشتن یا توضیح زمانبندی cron
در مرورگر شما اجرا میشود · بدون بارگذاری
این ابزار و راهنمای این صفحه فعلاً به زبان انگلیسی است. عملکردش همان است: همه چیز در مرورگر شما اجرا میشود.
Build it field by field
In each field: * means every value, 5 one value, 1-5 a range, 1,15 a list and */10 every 10th value.
Next runs
مرورگر شما برای اجرای این ابزار خیلی قدیمی است. لطفاً آن را بهروز کنید یا از نسخهٔ فعلی Chrome، Edge، Firefox یا Safari استفاده کنید.
- هیچ چیز از دستگاه شما خارج نمیشود
- بدون محدودیت حجم از سوی سرور
- بدون ثبتنام، بدون واترمارک
- رایگان
How to write a cron expression
- Pick a common schedule, type an expression, or edit the five fields.
- Read the description to check it says what you mean.
- Check the next run times, then copy the expression.
The five fields
| Field | Values | Example |
|---|---|---|
| Minute | 0–59 | 30 = at half past |
| Hour | 0–23 | 9 = 9 in the morning |
| Day of month | 1–31 | 1 = on the 1st |
| Month | 1–12 or JAN–DEC | */3 = every 3 months |
| Day of week | 0–6 (0 = Sunday) or SUN–SAT | 1-5 = Monday to Friday |
Good to know
- * means every value, 1-5 a range, 1,15 a list and */10 every 10th value.
- When both the day of month and the day of week are set, the job runs when either matches (that is how cron works).
- Next runs are shown in your time zone. Servers run cron in their own time zone, often UTC.
- Macros such as @daily, @hourly and @weekly are understood.
- L, W, # and ? come from Quartz and some schedulers; standard cron doesn't support them, and neither does a sixth field for seconds.
پرسشهای رایج
How do I run something every 5 minutes?
Use */5 * * * *.
How do I run something on weekdays at 9?
Use 0 9 * * 1-5.
Is anything sent anywhere?
No. Everything happens in your browser, and the page is blocked from uploading anything.