diff --git a/be/app/Console/Kernel.php b/be/app/Console/Kernel.php index d8bc1d2..837f08a 100644 --- a/be/app/Console/Kernel.php +++ b/be/app/Console/Kernel.php @@ -15,7 +15,14 @@ class Kernel extends ConsoleKernel */ protected function schedule(Schedule $schedule) { - // $schedule->command('inspire')->hourly(); + if (env('APP_ENV') === 'stage' && env('LXC') === 1) { +// $schedule->command('karat:sync-timesheets')->everyFiveMinutes(); + $schedule->command('intranet:sync-vacations')->twiceDaily(); + $schedule->command('karat:sync-users')->daily(); + $schedule->command('karat:sync-clients')->hourly(); + $schedule->command('karat:sync-projects')->hourly(); + } + } /**