laravel while command run schedule code example
Example: laravel schedule
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1