DEV TOOLBOX · CRON DIALECT
>cronpreview

Build, validate, and preview cron expressions across Unix, AWS EventBridge, GitHub Actions, Vercel, Kubernetes, Quartz, and Spring — with timezone-correct next-run previews.

Recipe · unix5

Every 2 hours on weekdays

0 */2 * * 1-5

Fires at the top of every even-hour during weekdays — twelve times per workday.

Why this pattern

0 */2 * * 1-5 fires at 00:00, 02:00, 04:00, ..., 22:00 on every weekday. Twelve fires per workday, sixty per workweek. Useful for warm-cache jobs, slow-moving syncs, and recurring digest emails that need more frequency than "once a day" but should not flood the destination.

Variations

  • Every 3 hours weekdays: 0 */3 * * 1-5
  • Every 2 hours, business window only: 0 8-18/2 * * 1-5
  • Every 2 hours including weekends: 0 */2 * * *

Platform notes

*/2 in the hour field is well-supported across all dialects; the only watchout is AWS EventBridge, which requires a 6-field expression with ? in either day-of-month or day-of-week. Use the dialect picker to switch and see the auto-corrected form.

Try it

loading builder…