Cron Expression for Every 2 Hours
Run a task every 2 hours
Cron Expression
0 */2 * * *
Understanding this Expression
This cron expression consists of 5 fields that specify when your task will run:
Minutes
0
At the start of the hour
Hours
*/2
Every 2 hours
Day of Month
*
Any value
Month
*
Any value
Day of Week
*
Any value
Summary
This schedule will run your task run a task every 2 hours.