From f734d9de7fc60de039b70a8ce6636d28e08932cf Mon Sep 17 00:00:00 2001 From: Michal Feher Date: Mon, 17 Apr 2023 09:23:55 +0200 Subject: [PATCH] no message --- be/app/Console/Kernel.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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(); + } + } /**