Cron Expression — Syntax, Format & Examples
0 */2 * * *Every 2 hours
Next 10 Executions
Times shown in UTC
- Mon, May 18, 202610:00
- Mon, May 18, 202612:00
- Mon, May 18, 202614:00
- Mon, May 18, 202616:00
- Mon, May 18, 202618:00
- Mon, May 18, 202620:00
- Mon, May 18, 202622:00
- Tue, May 19, 202600:00
- Tue, May 19, 202602:00
- Tue, May 19, 202604:00
Field Breakdown
0*/2***About This Schedule
A cron expression is a string of five fields separated by spaces — minute hour day-of-month month day-of-week — that defines when a scheduled job should run. Each field accepts numbers, wildcards (*), ranges (1-5), lists (1,3,5), and steps (*/5).
For example, the cron expression 0 */2 * * * means "at minute 0 past every 2nd hour" — so the job runs at midnight, 2 AM, 4 AM, 6 AM, and so on. The expression 0 9 * * 1-5 means "at 9:00 AM, Monday through Friday." These compact strings replace verbose scheduling configuration with a universal, portable format understood by Linux crontab, cloud platforms, CI/CD systems, and application frameworks.
Some systems extend the standard 5-field format: Quartz Scheduler (Java) adds a seconds field at the beginning, and AWS EventBridge adds a year field at the end. SimpleCronTab supports all major formats and lets you build, validate, and test cron expressions visually before deploying them.