Cron expression: Every 2 hours

0 */2 * * * — Runs at 00:00, 02:00, 04:00 … 22:00.

🔒 Runs locally — your input never leaves this browser tab

Fields

FieldValueMatches

Next runs (your local time)

    Crontab line for "every 2 hours"

    0 */2 * * * /usr/local/bin/your-script.sh >> /var/log/your-script.log 2>&1

    Runs at 00:00, 02:00, 04:00 … 22:00.

    In Laravel's scheduler you rarely need raw cron — but if you do: $schedule->command('report:send')->cron('0 */2 * * *');

    Cron syntax cheat sheet

    ┌───────────── minute (0–59)
    │ ┌─────────── hour (0–23)
    │ │ ┌───────── day of month (1–31)
    │ │ │ ┌─────── month (1–12 or JAN–DEC)
    │ │ │ │ ┌───── day of week (0–7 or SUN–SAT, 0 and 7 = Sunday)
    │ │ │ │ │
    * * * * *  command
    SymbolMeaningExample
    *any value* * * * * every minute
    ,list0 9,17 * * * at 09:00 and 17:00
    -range0 9 * * 1-5 weekdays at 09:00
    /step*/15 * * * * every 15 minutes

    Gotchas

    Common schedules