This commit is contained in:
romankko2 committed 2023-08-07 17:47:45 +02:00
commit 4163580fd6
3 files changed
+11 -2

No files matched your search

+9
View File
@@ -24,6 +24,15 @@ class Kernel extends ConsoleKernel
$schedule->command('karat:sync-timesheets')->everyFiveMinutes();
}
if (env('APP_ENV') === 'prod' && 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();
$schedule->command('karat:sync-timesheets')->everyFiveMinutes();
}
}
/**
+1 -1
View File
@@ -29,7 +29,7 @@ class Api
private static function doRequest($body)
{
$response = Http::timeout(60)
$response = Http::timeout(300)
->withOptions([
'debug' => true,
'verify' => false,
+1 -1
View File
@@ -34,7 +34,7 @@ return [
'karat' => [
'username' => env('KARAT_USERNAME'),
'password' => env('KARAT_PASSWORD'),
'endpoint' => 'https://86.110.228.181:39001/service',
'endpoint' => 'http://86.110.228.181:39001/service',
],
'intranet' => [