cron job scheduler code example Example: cron schedule:run * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1