From 9cf4b5ffd1d811f2636cc49203ebf30dc558956a Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 15 Jan 2026 15:10:09 +0100 Subject: [PATCH] add load on day funtion to setup --- .../Grapper/Logifuture/Authentication.php | 4 ++-- .../Grapper/Logifuture/LogifutureData.php | 4 ++-- setup.sh | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/Grapper/Logifuture/Authentication.php b/app/Console/Commands/Grapper/Logifuture/Authentication.php index d448b442..20c918b0 100644 --- a/app/Console/Commands/Grapper/Logifuture/Authentication.php +++ b/app/Console/Commands/Grapper/Logifuture/Authentication.php @@ -21,7 +21,7 @@ class Authentication *************************************************/ if ($debug) { - Notice::note('AUTH with PROXY'.PHP_EOL.$url, 'r'); + Notice::note('AUTH with PROXY'.PHP_EOL.$url, 'p'); } $ch = curl_init(); @@ -42,7 +42,7 @@ class Authentication *************************************************/ if ($debug) { - Notice::note('AUTH from PRODUCTION'.PHP_EOL.$url, 'r'); + Notice::note('AUTH direct'.PHP_EOL.$url, 'b'); } $ch = curl_init(); diff --git a/app/Console/Commands/Grapper/Logifuture/LogifutureData.php b/app/Console/Commands/Grapper/Logifuture/LogifutureData.php index 13ea34f1..61a8df3d 100644 --- a/app/Console/Commands/Grapper/Logifuture/LogifutureData.php +++ b/app/Console/Commands/Grapper/Logifuture/LogifutureData.php @@ -21,7 +21,7 @@ class LogifutureData *************************************************/ if ($debug) { - Notice::note('DATA with PROXY'.PHP_EOL.$url, 'r'); + Notice::note('DATA with PROXY'.PHP_EOL.$url, 'p'); } $ch = curl_init(); @@ -45,7 +45,7 @@ class LogifutureData *************************************************/ if ($debug) { - Notice::note('AUTH from PRODUCTION'.PHP_EOL.$url, 'r'); + Notice::note('DATA direct'.PHP_EOL.$url, 'b'); } $ch = curl_init(); diff --git a/setup.sh b/setup.sh index f1bfae04..be66ad0e 100755 --- a/setup.sh +++ b/setup.sh @@ -42,6 +42,20 @@ case "$1" in php artisan config:clear php artisan view:clear ;; +"9") + php artisan nuh --d --t --f 1 + php artisan nuh --d --t --f 2 + php artisan nuh --d --t --f 3 + php artisan nuh --d --f 4 + php artisan nuh --d --f 5 + php artisan nuh --d --f 6 + php artisan nuh --d --f 8 + php artisan nuh --d --f 9 + php artisan nuh --d --f 10 + php artisan nuh --d --f 11 + php artisan nuh --d --f 12 + php artisan nuh --d --f 16 + ;; *) echo "" echo "--------------------------" @@ -55,6 +69,7 @@ case "$1" in echo "6 => a filament:assets (copy to prod)" echo "7 => a db:seed --force" echo "8 => a cache:clear view:clear" + echo "9 => a load all data, one day, NO proxy" echo "--------------------------" echo "" ;;