crontab every 2 hour code example Example 1: cron every 3 hours 0 */3 * * * Example 2: cron every two hours 0 */2 * * *