schedule laravel cron job mac code example Example: setup cron on macos for laravel * * * * * php /path/to/project/artisan schedule:run >> /dev/null 2>&1