← Home • All Cron Schedules
Cron Expression: Every 2 Hours
Runs at 00:00, 02:00, 04:00, and every even hour throughout the day.
0 */2 * * *
Minute0
Hour*/2
Day (Month)*
Month*
Day (Week)*
Advertisement Slot
Ready-to-Use Cron & CI/CD Examples
Linux Crontab Entry (crontab -e)
0 */2 * * * /usr/bin/php /var/www/html/scripts/task.php >> /var/log/cron.log 2>&1
GitHub Actions Workflow Schedule (UTC)
on:
schedule:
- cron: '0 */2 * * *'
Laravel Task Scheduler Equivalent
$schedule->command('app:run-task')->cron('0 */2 * * *');
← Every Hour (Top of the Hour)
Every 6 Hours →