From 8a1d09b07a5a47da39f6f30fcddf86c0b314e66f Mon Sep 17 00:00:00 2001 From: salam Date: Sun, 26 Jul 2026 07:18:44 +0200 Subject: [PATCH] wip --- app/Console/Commands/Grapper/Sofascore/SendMail.php | 2 +- grapper.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/Grapper/Sofascore/SendMail.php b/app/Console/Commands/Grapper/Sofascore/SendMail.php index a97b88fb..50cc8b09 100644 --- a/app/Console/Commands/Grapper/Sofascore/SendMail.php +++ b/app/Console/Commands/Grapper/Sofascore/SendMail.php @@ -31,7 +31,7 @@ class SendMail if (File::exists($zip_file)) { Mail::to('hermann.telser@gmail.com') - // ->cc('ubaldo.perrucci@gmail.com') + ->cc('ubaldo.perrucci@gmail.com') ->send( new SofaScoreDataMail($header, $message) ); diff --git a/grapper.sh b/grapper.sh index cf85de66..51cf8363 100755 --- a/grapper.sh +++ b/grapper.sh @@ -12,6 +12,18 @@ case "$1" in echo "--------------------------" sleep 5 + echo "\n⚽ close all vpn" + killall ssh + + echo "\n⚽ open vpn" + ssh -f -N -L 13306:127.0.0.1:3306 -p 58371 root@162.55.242.190 + + echo "\n⚽ Settings To Local" + php artisan nuh --d --f 67 --fun=2 --task=0 + + echo "\n⚽ close vpn" + killall ssh + echo "\n⚽ Grapper" php artisan nuh --d --f --ff 67 --fun=3 --task=1