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