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