Cron Expression Examples
Ready-to-use cron expressions for common scheduling needs. Click any expression to try it in the builder or validator.
Basic Intervals
| Expression | Description | Actions |
|---|---|---|
| * * * * * | Every minute | BuildValidate |
| */5 * * * * | Every 5 minutes | BuildValidate |
| */10 * * * * | Every 10 minutes | BuildValidate |
| */15 * * * * | Every 15 minutes | BuildValidate |
| */30 * * * * | Every 30 minutes | BuildValidate |
| 0 * * * * | Every hour at :00 | BuildValidate |
| 0 */2 * * * | Every 2 hours | BuildValidate |
| 0 */6 * * * | Every 6 hours | BuildValidate |
Daily Schedules
Business Schedules
Weekly Schedules
Monthly & Yearly
DevOps & Maintenance
Frequently Asked Questions
What does */5 * * * * mean in cron?
The expression */5 * * * * means "every 5 minutes". The /5 is a step value applied to the minute field. The schedule fires at minutes 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour.
How do I run a cron job every hour?
Use 0 * * * * to run a cron job at the start of every hour (at minute 0). This means the job will execute at 00:00, 01:00, 02:00, and so on.
How do I schedule a cron job for weekdays only?
Use 1-5 in the day-of-week field (the 5th field). For example, 0 9 * * 1-5 runs the job at 09:00 Monday through Friday. In Unix cron, 1 = Monday and 5 = Friday.
How do I run a cron job on the first day of every month?
Use 0 0 1 * * to run at midnight on the 1st of every month. You can change the hour and minute fields to schedule it at a different time on the 1st.
What is the difference between * and */1 in cron?
There is no difference. Both * and */1 match every possible value for that field. */1 explicitly states a step of 1, which is the same as matching everything.