From: Vincent Vanwaelscappel Date: Tue, 21 Apr 2020 18:53:26 +0000 (+0200) Subject: wait #3605 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9038b5d3c68a9adc546c6ee38ae89d653701e4c1;p=pmi.git wait #3605 @1 --- diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 45f14ca..1f5aeae 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -19,13 +19,15 @@ class Kernel extends ConsoleKernel /** * Define the application's command schedule. * - * @param \Illuminate\Console\Scheduling\Schedule $schedule + * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { $schedule->command('backup:clean')->daily()->at('04:00'); $schedule->command('backup:run')->daily()->at('05:00'); + $schedule->command('cubist:search:index', ['PMI', 'all'])->cron('35 */4 * * *'); + $schedule->command('cubist:search:index', ['MICHSCI', 'all'])->cron('5 */4 * * *'); } /** @@ -35,7 +37,7 @@ class Kernel extends ConsoleKernel */ protected function commands() { - $this->load(__DIR__.'/Commands'); + $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); }