Hours
Every 2 Hours Cron Expression
Run a cron job every 2 hours with 0 */2 * * *.
Cron expression
0 */2 * * *Plain English explanation
Runs every 2 hours.
Field breakdown
FieldValueMeaningAllowed
Minute
0
At minute 0
0-59
Hour
*/2
Every 2 hours
0-23
Day of Month
*
Every day of the month
1-31
Month
*
Every month
1-12
Day of Week
*
Every day of the week
0-7, where 0 or 7 is Sunday
Use case
Use this for jobs that should run several times per day without hourly load.
FAQ
What does this cron expression mean?
Runs every 2 hours.
Can I use this in Linux crontab?
Yes. This is a standard Linux 5-field cron expression when used with a normal crontab command.
Does this work in GitHub Actions?
Usually yes for 5-field syntax, but GitHub Actions schedules run in UTC and may be delayed during high load.
How can I change the time?
Edit the minute and hour fields, or open the expression in the Cron Generator or Playground.
How can I test this expression?
Use the Cron Validator to check syntax and the Next Run Calculator to preview upcoming executions.