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