diff --git a/README.md b/README.md index d1bfb5d..929c602 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,21 @@ protected function schedule(Schedule $schedule) } ``` +In Laravel 11, the `app/Console/Kernel.php` file has been removed. To schedule a task, you can now add it directly to `routes/console.php` as follows: +```php +daily(); +``` + +You can check if your task has been added to the schedule by using the following artisan command: +```bash +php artisan schedule:list +``` + + ## Contribution If you find an issue with this package or you have any suggestion please help out. I am not perfect.