equal
deleted
inserted
replaced
|
1 <?php namespace App\Console; |
|
2 |
|
3 use Illuminate\Console\Scheduling\Schedule; |
|
4 use Illuminate\Foundation\Console\Kernel as ConsoleKernel; |
|
5 |
|
6 class Kernel extends ConsoleKernel { |
|
7 |
|
8 /** |
|
9 * The Artisan commands provided by your application. |
|
10 * |
|
11 * @var array |
|
12 */ |
|
13 protected $commands = [ |
|
14 'App\Console\Commands\Inspire', |
|
15 'App\Console\Commands\ImportCocoonRDF', |
|
16 ]; |
|
17 |
|
18 /** |
|
19 * Define the application's command schedule. |
|
20 * |
|
21 * @param \Illuminate\Console\Scheduling\Schedule $schedule |
|
22 * @return void |
|
23 */ |
|
24 protected function schedule(Schedule $schedule) |
|
25 { |
|
26 $schedule->command('inspire') |
|
27 ->hourly(); |
|
28 } |
|
29 |
|
30 } |