mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
Merge branch 'main' of https://bitbucket.org/studiotem/jandl-taskmanager-app
This commit is contained in:
commit
4163580fd6
3 files changed
+11
-2
No files matched your search
@@ -24,6 +24,15 @@ class Kernel extends ConsoleKernel
|
|||||||
$schedule->command('karat:sync-timesheets')->everyFiveMinutes();
|
$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();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class Api
|
|||||||
|
|
||||||
private static function doRequest($body)
|
private static function doRequest($body)
|
||||||
{
|
{
|
||||||
$response = Http::timeout(60)
|
$response = Http::timeout(300)
|
||||||
->withOptions([
|
->withOptions([
|
||||||
'debug' => true,
|
'debug' => true,
|
||||||
'verify' => false,
|
'verify' => false,
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ return [
|
|||||||
'karat' => [
|
'karat' => [
|
||||||
'username' => env('KARAT_USERNAME'),
|
'username' => env('KARAT_USERNAME'),
|
||||||
'password' => env('KARAT_PASSWORD'),
|
'password' => env('KARAT_PASSWORD'),
|
||||||
'endpoint' => 'https://86.110.228.181:39001/service',
|
'endpoint' => 'http://86.110.228.181:39001/service',
|
||||||
],
|
],
|
||||||
|
|
||||||
'intranet' => [
|
'intranet' => [
|
||||||
|
|||||||
Reference in new issue
Block a user