Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzabusatlic authored Jul 11, 2017
1 parent 2f904d7 commit b1adc25
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 @@ -6,11 +6,11 @@ Track the output of your scheduled tasks in a database table.
1. Install through composer: `composer require mirzabusatlic/laravel-schedule-monitor`
2. Add `Busatlic\ScheduleMonitor\ScheduleMonitorServiceProvider::class` to your list of `$providers` in to your `config/app.php`.
3. Publish the migration using `php artisan vendor:publish --provider=Busatlic\\ScheduleMonitor\\ScheduleMonitorServiceProvider`.
4. Run `php artisan migrate` to create the `schedule_events` table in your database.
4. Run `php artisan migrate` to create the `scheduled_events` table in your database.

## Usage

- In your `app/Console/Kernel.php`, include use the `Busatlic\ScheduleMonitor\MonitorsSchedule` trait.
- In your `app/Console/Kernel.php`, include the `Busatlic\ScheduleMonitor\MonitorsSchedule` trait.
- Call `$this->monitor($schedule)` after you've defined your scheduled commands in `schedule()`.

This will look something like:
Expand Down

0 comments on commit b1adc25

Please sign in to comment.