crontab every 10 minutes code example Example 1: crontab every 5 minutes */5 * * * * Example 2: cron job every 10 seconds */10 * * * * * will run every 10 sec.