cron for every 2 hours code example Example 1: cron every 2 minutes */2 * * * * Example 2: cron every 3 hours 0 */3 * * * Example 3: cron every two hours 0 */2 * * *