الوقت/الأرقام
Cron Parser
تحليل تعبير cron (5 أو 6 حقول، بما في ذلك اختصارات @) — وصف الجدول بلغة بسيطة والتشغيلات القادمة في المنطقة الزمنية المختارة.
A cron expression is a compact five- or six-field schedule format (minute, hour, day of month, month, day of week, sometimes seconds) that's hard to read at a glance. This tool translates it into plain language and lists the next run times in your chosen timezone.
How to use it
- Paste a cron expression (e.g. 0 3 * * * or a shorthand like @daily) and a plain-language schedule description appears instantly.
- The list of upcoming runs shows exact dates and times in your chosen timezone — handy for checking whether a job collides with another.
- Both 5-field cron expressions (standard Unix cron) and 6-field ones with seconds (Quartz and similar schedulers) are supported.
Common uses
- Checking a job's schedule before deploying — confirming the cron expression really runs the script when intended.
- Debugging a job that fires more or less often than expected.
- Building a new cron schedule without looking up the syntax reference every time.
Things to keep in mind
In classic cron, the day-of-month and day-of-week fields combine with OR rather than AND when neither is "*" — a frequent cause of unexpected extra runs.
The server running cron may be set to a different timezone than the one you're assuming — always confirm which timezone the schedule is interpreted in.
الأسئلة الشائعة
كيف يختلف تعبير cron ذو 6 حقول عن ذي 5 حقول؟
يستخدم cron القياسي 5 حقول (الدقيقة، الساعة، يوم الشهر، الشهر، يوم الأسبوع). تضيف بعض المجدولات حقل ثوانٍ سادسًا في بداية التعبير — تتعرف الأداة على كلا التنسيقين تلقائيًا.
ماذا تعني الاختصارات مثل @daily؟
هي أسماء مستعارة مريحة للجداول الشائعة: @daily يقابل "0 0 * * *" (منتصف الليل كل يوم)، و@hourly يقابل "0 * * * *"، وتعمل @weekly وmonthly@ وyearly@ بشكل مماثل.
بأي منطقة زمنية تُحسب عمليات التشغيل القادمة؟
بالمنطقة الزمنية المحددة في حقل "المنطقة الزمنية". يعطي نفس تعبير cron وقت تشغيل مطلق مختلف حسب المنطقة الزمنية، لذا تأكد من تحديد المنطقة التي يعمل فيها المجدول فعليًا.
هل يؤثر الانتقال بين التوقيت الصيفي والشتوي على تشغيل المهمة؟
نعم، إذا صادف وقت التشغيل ساعة غير موجودة أو متكررة أثناء تغيير الساعات. للمهام الحرجة، من الأكثر أمانًا اختيار وقت خارج نافذة الانتقال المعتادة أو استخدام UTC صراحة.
لماذا تشغلت مهمتي رغم أنني توقعت تطابق يوم الشهر أو يوم الأسبوع فقط؟
في cron الكلاسيكي، يُجمع هذان الحقلان بمنطق "أو" وليس "و" عندما لا يكون أي منهما نجمة — تُشغَّل المهمة بمجرد تحقق أحد الشرطين، حتى لو لم يتحقق الآخر.