Cron Expression: Cron Every 4 Hours

Learn how to create a cron expression for 'cron every 4 hours'. Runs every 4 hours with our free cron generator tool.

Cron Expression

0 */4 * * *

Expression Breakdown

0
Minute
(0-59)
*/4
Hour
(0-23)
*
Day
(1-31)
*
Month
(1-12)
*
Weekday
(0-6)
Field Value Meaning
Minute 0 At minute 0
Hour */4 Every 4 hours
Day of Month * Any day
Month * Any month
Day of Week * Any day of the week

This cron expression represents: cron every 4 hours

Cron Expression

0 */4 * * *

What This Expression Does

Runs every 4 hours

Use Cases

This cron schedule is commonly used for:

How to Use

  1. Copy the cron expression above
  2. Open your crontab with crontab -e
  3. Add a new line with: 0 */4 * * * /path/to/your/script.sh
  4. Save and exit

Alternative Formats