Cron Expression Generator
Assemble and validate a 5-field cron expression for Linux crontab, Kubernetes CronJobs and CI schedules.
How to Use the Cron Expression Generator
- Enter each of the 5 cron fields.
- Use * for "every".
- Click Calculate to see the joined expression.
حالات الاستخدام
- •Drafting Kubernetes CronJob schedules.
- •Adding GitHub Actions cron triggers.
- •Managing server crontabs for backups.
الصيغة
cron = minute hour day-of-month month day-of-week. Each field accepts digits, *, , - and /.
الأسئلة الشائعة
Day-of-week 0 or 7 for Sunday?
Classic Vixie cron accepts both 0 and 7 for Sunday. Kubernetes and GitHub Actions follow the same convention.
What does the slash mean?
Step values. */5 in the minute field means "every 5 minutes starting at 0". 0-30/10 means "every 10 minutes between 0 and 30".
Why validate with a regex?
A strict whitelist of digits, *, , - and / catches ~95% of typos without needing a full cron parser. For production, complement it with a dry-run on a scheduler.