OhMyCalc

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

  1. Enter each of the 5 cron fields.
  2. Use * for "every".
  3. Click Calculate to see the joined expression.

Casos de Uso

Fórmula

cron = minute hour day-of-month month day-of-week. Each field accepts digits, *, , - and /.

Perguntas Frequentes

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.