force ldcweb:admin-secure-sync to run in staging
This commit is contained in:
parent
23f53c80b9
commit
a4514fa3e6
1 changed files with 5 additions and 3 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue