MinuteHourDayMonthWeekday

Runs at minute 0 past hour 0

Cron Format Reference

Minute

0-59

Hour

0-23

Day

1-31

Month

1-12

Weekday

0-7 (0,7=Sun)

* = any, */n = every n, a,b = multiple, a-b = range

Testing Your Cron Job

Always test your cron expression with crontab -e on Linux/Mac. For debugging, redirect output to a log file: * * * * * /path/to/script.sh >> /var/log/cron.log 2>&1

Crontab Generator

أنشئ وتحقق من صحة تعبيرات crontab لنظام Linux فورًا. اختر من بين الإعدادات المسبقة الشائعة أو أنشئ جدول cron مخصصًا. شاهد على الفور وصفًا واضحًا لتوقيت مهمة cron الخاصة بك.

الأسئلة الشائعة (FAQ)

Formula Verified
Expert Reviewed
Scientifically Precise

What is a Cron Job?

A cron job is a scheduled task in Unix/Linux systems that runs automatically at specified intervals. Defined in the crontab (cron table) file, they're used for automated backups, report generation, database maintenance, API calls, and server monitoring.

The Cron Expression Format

A cron expression has 5 fields: MINUTE HOUR DAY MONTH WEEKDAY. Each field accepts specific values and wildcards:

  • * — any value (every minute, every hour, etc.)
  • */n — every n units (*/5 = every 5 minutes)
  • a,b — multiple values (1,15 = 1st and 15th)
  • a-b — range (1-5 = Monday through Friday)

Common Cron Job Use Cases

  • 0 0 * * * — Daily backup at midnight
  • */5 * * * * — API health check every 5 minutes
  • 0 9 * * 1-5 — Daily report email every weekday at 9am
  • 0 0 1 * * — Monthly invoice generation
مشاركة هذه الأداة
Last updated: 19 مايو 2026

أدوات ذات صلة

More free tools you might like

عرض جميع الأدوات