티스토리 뷰

1.Crontab 설정
- Laravel Scheduler
* * * * * cd /project-path/ && php artisan schedule:run >> ./storage/logs/crond.log 2>&1

2.Command 실행
- Command signature 활용
- The name and signature of the console command.
php artisan command:go
php artisan command:test
php artisan api:go
php artisan api:test

 

댓글