Every few minutes

  • Every minute: * * * * *
  • Every 2 minutes: */2 * * * *
  • Every 5 minutes: */5 * * * *
  • Every 10 minutes: */10 * * * *
  • Every 15 minutes: */15 * * * *
  • Every 30 minutes: */30 * * * *
  • Every 5 minutes starting at :02: 2-59/5 * * * *

Hourly and daily

  • Every hour at minute 0: 0 * * * *
  • Every hour at minute 15: 15 * * * *
  • Every 2 hours: 0 */2 * * *
  • Every 6 hours: 0 */6 * * *
  • Daily at midnight: 0 0 * * *
  • Daily at 02:30: 30 2 * * *
  • Daily at noon: 0 12 * * *
  • Twice daily at 08:00 and 20:00: 0 8,20 * * *

Weekly and weekday schedules

  • Every Sunday at midnight: 0 0 * * 0
  • Every Monday at 09:00: 0 9 * * 1
  • Weekdays at 09:00: 0 9 * * 1-5
  • Monday, Wednesday, Friday at 09:00: 0 9 * * 1,3,5
  • Weekdays every 30 minutes from 9 to 17: */30 9-17 * * 1-5
  • Saturdays and Sundays at 03:00: 0 3 * * 6,0

Monthly, quarterly and yearly

  • First of the month at midnight: 0 0 1 * *
  • 15th of the month at 02:00: 0 2 15 * *
  • Quarterly on Jan/Apr/Jul/Oct 1st: 0 0 1 1,4,7,10 *
  • Yearly on January 1st: 0 0 1 1 *
  • Last day of month (Quartz only): 0 0 0 L * ? — use a date-guarded daily job in Unix cron

Expressions that do not exist

  • Every 30 seconds: not expressible; use two lines or a wrapper loop.
  • Last day of February: not expressible in Unix cron without a date check.
  • First Monday of the month: not expressible in Unix cron; Quartz uses 1#1.
  • Every 90 minutes: not expressible exactly; */2 hours plus 30 minutes is a different schedule.
  • Random time each day: use ~ in cronie or a wrapper script; not portable.

When a schedule cannot be expressed, put the logic in the command: run hourly and exit unless the date condition matches. That keeps the crontab readable and portable.