Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
njoguamos committed Mar 12, 2024
1 parent 2a1d99c commit 9ba5d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ class Kernel extends ConsoleKernel
{
# Other scheduled commands
$schedule->command('pesapal:auth')->everyFourMinutes();
$schedule->command('model:prune')->daily();
$schedule->command('model:prune')->everyFiveMinutes();
}
}
```

```php
# Laravel 11 -> routes/console.php
Schedule::call('pesapal:auth')->everyFourMinutes();
Schedule::call('model:prune')->everyFourMinutes();
Schedule::call('model:prune')->everyFiveMinutes();
```

## Testing
Expand Down

0 comments on commit 9ba5d5a

Please sign in to comment.