Cron Expression Generator

Build cron schedules visually or with AI

✓ Runs 100% in your browser — no data sent to servers
* * * * *
Every minute
Next 5 Run Times
Ready Format: minute hour day month weekday
AI Cron Generator Claude

Frequently Asked Questions

What is a cron expression?

A cron expression is a string of 5 or 6 fields separated by spaces that represents a schedule. Each field specifies when a task should run: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6, where 0 is Sunday).

What does the asterisk (*) mean?

The asterisk (*) is a wildcard that means "every" or "any". For example, * in the hour field means "every hour", and * in the day field means "every day". It's the most commonly used symbol in cron expressions.

How do I schedule a task to run every weekday?

Use "1-5" in the day of week field. For example, "0 9 * * 1-5" runs at 9:00 AM every weekday (Monday through Friday). You can also use "MON-FRI" in some cron implementations.

Can I use the AI to generate cron expressions?

Yes! Click "AI Generate" and describe your schedule in plain English (e.g., "every weekday at midnight" or "first day of every month at 3 PM"). The AI will generate the correct cron expression for you.

What's the difference between day of month and day of week?

Day of month (1-31) specifies which day of the month to run, while day of week (0-6) specifies which day of the week. If both are specified (not *), the task runs when EITHER condition is met, not both.

How do I run a task every 5 minutes?

Use "*/5" in the minute field. The slash (/) means "every N units". So "*/5 * * * *" runs every 5 minutes, "*/15" runs every 15 minutes, and so on.