how to set a cron in laravel api code example
Example: setup cron on macos for laravel
* * * * * php /path/to/project/artisan schedule:run >> /dev/null 2>&1
* * * * * php /path/to/project/artisan schedule:run >> /dev/null 2>&1