RevealTheme logo

منشئ تعبيرات Cron

أنشئ تعبيرات جدولة cron بصريًا. اختبرها مقابل أوقات التشغيل القادمة.

0 * * * *
إعدادات شائعة

كيفية استخدام هذه الأداة

  1. 1

    Type a value into each of the five fields: Minute, Hour, Day (of month), Month, and DOW (day of week).

  2. 2

    Use cron syntax inside any field: * for every value, a number like 9, a range like 1-5, a step like */15, or a list like 1,15.

  3. 3

    Or click a preset such as 'Weekdays at 8am' to fill all five fields at once, then tweak as needed.

  4. 4

    Read the assembled expression in the preview box and press Copy to put it on your clipboard for crontab or your scheduler.

ما هو منشئ تعبيرات Cron؟

Cron هو الصيغة القياسية لجدولة المهام المتكررة على أنظمة Unix. تتألف الصيغة من خمسة حقول: الدقيقة، والساعة، واليوم من الشهر، والشهر، واليوم من الأسبوع. توسّعها الأنظمة الحديثة إلى ستة حقول (بإضافة الثواني). يساعدك هذا المنشئ على تأليف التعبيرات دون حفظ الصيغة.

حالات الاستخدام الشائعة

  • Schedule a nightly database backup to run at a quiet hour, for example 0 3 * * * for 3am every day.

  • Configure a GitHub Actions or GitLab CI workflow that runs on a cron trigger without hand-counting the fields.

  • Set up a Kubernetes CronJob or a serverless scheduled function and paste the expression into the schedule field.

  • Build a weekday-only reminder or report job, like 0 8 * * 1-5 for 8am Monday through Friday.

  • Create a high-frequency polling task such as */5 * * * * to check a queue or endpoint every five minutes.

  • Generate a monthly billing or cleanup expression like 0 0 1 * * that fires at midnight on the first of each month.

الأسئلة الشائعة

ماذا يعني '*/5 * * * *'؟
كل 5 دقائق، في أي ساعة، وأي يوم. تعني الصيغة '*/N' 'كل N وحدة من وحدات هذا الحقل'.
كيف أشغّل شيئًا في أيام العمل فقط؟
استخدم '0 9 * * 1-5': في التاسعة صباحًا، من الإثنين إلى الجمعة.

أدوات ذات صلة