Skip to main content
SlapMyWeb
Skip to tool
Free tool

Cron expression generator

Build cron expressions visually with plain-English descriptions and next-run preview. Presets for common schedules. Copy the expression with one click.

0-59, */n, *
0-23, */n, *
1-31, */n, *
1-12, */n, *
0-6 (Sun=0)
cron
* * * * *
Every minute of every hour
schedule
1.4/22/2026, 2:41:32 PM
2.4/22/2026, 2:42:32 PM
3.4/22/2026, 2:43:32 PM
4.4/22/2026, 2:44:32 PM
5.4/22/2026, 2:45:32 PM

What is Cron Expression Generator?

A cron expression generator helps you build and understand cron schedule syntax without memorizing the five-field format. Cron expressions are used across Linux crontab, Kubernetes CronJobs, GitHub Actions, AWS EventBridge, Celery Beat, and virtually every task scheduling system to define when automated jobs should run. The standard format uses five fields: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6, where Sunday is 0). Our free visual builder lets you set each field independently with input validation, instantly generates the cron expression, shows a plain-English description of the schedule, and previews the next 5 run times based on your current timezone. Ten common presets are included for quick access to schedules like every 5 minutes, daily at midnight, every weekday at 8 AM, and first of the month. Whether you are scheduling database backups, setting up CI/CD pipelines, configuring monitoring alerts, or automating report generation, this tool eliminates the guesswork from cron syntax.

How to Use Cron Expression Generator

  1. 1

    Choose a preset or set fields manually

    Click any of the 10 common presets to start from a known schedule, or directly edit the five cron fields (minute, hour, day, month, weekday) to build a custom expression.

  2. 2

    Review the schedule

    The tool displays a plain-English description of your cron expression and shows the next 5 execution times in your local timezone so you can verify the schedule matches your intent.

  3. 3

    Copy the expression

    Click the Copy button to copy the cron expression to your clipboard. Paste it into your crontab, Kubernetes manifest, CI/CD config, or any scheduling system that uses standard cron syntax.

Features

  • Visual builder for all five cron fields with input hints and validation
  • Plain-English description generated from any valid cron expression
  • Next 5 run times preview calculated from your current timezone
  • 10 built-in presets for common schedules like hourly, daily, and weekly
  • Support for step values (*/5), ranges (1-5), and exact values
  • One-click copy with instant clipboard access for the generated expression

Related Tools

Frequently Asked Questions

What does each field in a cron expression mean?+
A standard cron expression has five fields separated by spaces: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6 where 0 is Sunday). An asterisk (*) means every value, */n means every n intervals, and a-b means a range from a to b.
What does */5 mean in a cron expression?+
The */n syntax means "every n intervals." So */5 in the minute field means every 5 minutes (at 0, 5, 10, 15, etc.), */2 in the hour field means every 2 hours (at 0, 2, 4, 6, etc.), and */3 in the day field means every 3 days.
How do I schedule a job for weekdays only?+
Set the weekday field to 1-5 (Monday through Friday). For example, "0 9 * * 1-5" runs at 9:00 AM every weekday. You can also use specific days like "1,3,5" for Monday, Wednesday, and Friday only.
What is the difference between cron and crontab?+
Cron is the scheduling daemon that runs on Unix/Linux systems. Crontab (cron table) is the file where you define your scheduled jobs. Each line in a crontab file contains a cron expression followed by the command to execute. Use "crontab -e" to edit your crontab.
Do the next run times account for my timezone?+
Yes. The next run times are calculated using your browser local timezone. However, when you deploy the cron expression to a server, it will use that server timezone (usually UTC). Make sure to adjust hours accordingly if your server runs in a different timezone.
Does this support 6-field or 7-field cron expressions?+
This tool generates standard 5-field cron expressions used by most systems including Linux crontab, Kubernetes, and GitHub Actions. Some systems like Quartz (Java) use 6 or 7 fields with a seconds field. For those, prepend "0 " to the generated expression to add a seconds field set to zero.