diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index d465299..9569fc2 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -12,8 +12,7 @@ class Kernel extends ConsoleKernel * * @var array */ - protected $commands = [ - ]; + protected $commands = []; /** * Define the application's command schedule. @@ -23,7 +22,10 @@ class Kernel extends ConsoleKernel */ protected function schedule(Schedule $schedule) { - // Write schedules here. + // * FIXME: remove this when swithing to latest php version and ldc-web-admin-secure-laravel package + if ($this->app->environment('staging')) { + $schedule->command('ldcweb:admin-secure-sync')->daily(); + } } /**