Cron Expression Builder
Visually construct, edit, and translate crontab schedules with instant local runtime calendars.
Run every few minutes
Runs every 5 minutes
Next 5 Run Schedules
Standard Cron Syntax
Every standard cron expression contains 5 distinct values separated by spaces. Learn the structure of a crontab string:
| Field | Allowed Values | Special Characters |
|---|---|---|
| 1. Minute | 0 - 59 | *, - , / |
| 2. Hour | 0 - 23 | *, - , / |
| 3. Day of Month | 1 - 31 | *, - , / |
| 4. Month | 1 - 12 | *, - , / |
| 5. Day of Week | 0 - 6 | *, - , / |
Cron Wildcards Explained
To write complex schedules, cron uses special characters to define patterns:
- Asterisk (*)Matches all values. For example, `*` in the hour field means "every hour of the day".
- Comma (,)Defines a list of values. For example, `1,3,5` in the day of week field means "Sunday, Tuesday, Thursday".
- Hyphen (-)Defines a range. For example, `9-17` in the hour field means "every hour from 9 AM to 5 PM".
- Slash (/)Defines step values. For example, `*/15` in the minute field means "every 15 minutes".
Frequently Asked Questions
Everything you need to know about setting up and troubleshooting cron schedules.
What is a Cron Job?
A Cron job is a time-based job scheduler in Unix-like computer operating systems. Developers use cron triggers to automate background tasks, system backups, email dispatches, and periodic API status checks.
What do the 5 fields in a cron expression represent?
Standard cron expressions contain 5 space-separated values representing: Minute (0-59), Hour (0-23), Day of Month (1-31), Month (1-12), and Day of Week (0-6, where 0 is Sunday).
How do I schedule a job to run every weekday?
To run a job Monday through Friday, set the Day of Week field (5th field) to `1-5`. For example, `0 9 * * 1-5` schedules a job to run daily at 9:00 AM, Monday through Friday.
Does standard cron support seconds or years?
No. Standard UNIX cron supports only 5 fields (minutes as the smallest unit). Some frameworks (like Spring, Quartz, or AWS EventBridge) support a 6-field format that includes seconds or years, but standard UNIX crontab files strictly use 5 fields.
How does Pingzo leverage cron expressions?
Pingzo supports custom scheduling triggers. Beyond standard 1-minute intervals, you can specify exact cron expressions to trigger custom API tests or check maintenance windows at specific intervals.
Schedule Outage Alerts Dynamically
Once you configure your cron triggers, link them to Pingzo alert channels to get instant down and recovery notifications on WhatsApp, Discord, and Telegram.