Cron expression for every 6 hours

Runs the job at midnight, 6 AM, noon, and 6 PM every day.

0 */6 * * *

Generator

On the hour, every 6 hours

Field by field

  • Minute · 0–59 0 only at minute 0
  • Hour · 0–23 */6 every 6th hour
  • Day of month · 1–31 * every day of the month
  • Month · 1–12 or JAN–DEC * every month
  • Day of week · 0–7 or SUN–SAT * every day of the week

Next runs in your local time

    Where this cron expression shows up

    • Syncing four times a day
    • Batch uploads that would be too heavy to run hourly
    • Rotating credentials on a fixed cadence

    Common variations

    • Every 12 hours

      0 */12 * * * On the hour, every 12 hours

    • Every 6 hours, offset to :30

      30 */6 * * * At 30 minutes past the hour, every 6 hours

    Ranges, steps, and names are spelled out on the cheat sheet.