grap zip mail
This commit is contained in:
1 parent
5081ec9e32
commit
dfed73b228
18 files changed
+484
-188
No files matched your search
@@ -110,44 +110,72 @@ case "$1" in
|
||||
# php artisan nuh --d --f --p 19
|
||||
;;
|
||||
|
||||
"11")
|
||||
echo ""
|
||||
echo ""
|
||||
echo "!! NO PROXY !!"
|
||||
echo "!! NO DATE LIMIT !!"
|
||||
echo ""
|
||||
echo ""
|
||||
php artisan nuh --d --f --w 1
|
||||
php artisan nuh --d --f --w 2
|
||||
php artisan nuh --d --f --w 20
|
||||
php artisan nuh --d --f --w 21
|
||||
php artisan nuh --d --f --w 22
|
||||
php artisan nuh --d --f --w 3
|
||||
php artisan nuh --d --f --w 4
|
||||
php artisan nuh --d --f --w 5
|
||||
php artisan nuh --d --f --w 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 13
|
||||
php artisan nuh --d --f 14
|
||||
php artisan nuh --d --f 15
|
||||
php artisan nuh --d --f 16
|
||||
php artisan nuh --d --f 17
|
||||
php artisan nuh --d --f 18
|
||||
php artisan nuh --d --f 19
|
||||
;;
|
||||
"11")
|
||||
echo ""
|
||||
echo ""
|
||||
echo "!! NO PROXY !!"
|
||||
echo "!! NO DATE LIMIT !!"
|
||||
echo ""
|
||||
echo ""
|
||||
php artisan nuh --d --f --w 1
|
||||
php artisan nuh --d --f --w 2
|
||||
php artisan nuh --d --f --w 20
|
||||
php artisan nuh --d --f --w 21
|
||||
php artisan nuh --d --f --w 22
|
||||
php artisan nuh --d --f --w 3
|
||||
php artisan nuh --d --f --w 4
|
||||
php artisan nuh --d --f --w 5
|
||||
php artisan nuh --d --f --w 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 13
|
||||
php artisan nuh --d --f 14
|
||||
php artisan nuh --d --f 15
|
||||
php artisan nuh --d --f 16
|
||||
php artisan nuh --d --f 17
|
||||
php artisan nuh --d --f 18
|
||||
php artisan nuh --d --f 19
|
||||
;;
|
||||
|
||||
"12")
|
||||
echo ""
|
||||
echo "clear queue and restart"
|
||||
echo ""
|
||||
php artisan queue:clear
|
||||
php artisan queue:restart
|
||||
php artisan optimize
|
||||
;;
|
||||
|
||||
"13")
|
||||
## AUTO GRAPPER SOFASCORE
|
||||
# -i ~/.ssh/id_rsa
|
||||
echo "\n⚽ close all open vpn"
|
||||
killall ssh
|
||||
|
||||
echo "\n⚽ open vpn tunnel to prod"
|
||||
ssh -f -N -L 13306:127.0.0.1:3306 -p 58371 root@162.55.242.190
|
||||
|
||||
echo "\n⚽ copy active tournaments"
|
||||
php artisan nuh --d --f 73 --prc=2
|
||||
|
||||
echo "\n⚽ close tunnel"
|
||||
killall ssh
|
||||
|
||||
echo "\n⚽ grapp data sofascore"
|
||||
# php artisan nuh --d --f --y 72
|
||||
|
||||
echo "\n⚽ create zip archive"
|
||||
php artisan nuh --d --f --y 73 --prc=3
|
||||
|
||||
echo "\n⚽ mail archive"
|
||||
php artisan nuh --d --f --y 73 --prc=4
|
||||
|
||||
echo "\n😎 done :)"
|
||||
;;
|
||||
|
||||
"12")
|
||||
echo ""
|
||||
echo "clear queue and restart"
|
||||
echo ""
|
||||
php artisan queue:clear
|
||||
php artisan queue:restart
|
||||
php artisan optimize
|
||||
;;
|
||||
*)
|
||||
echo ""
|
||||
echo "--------------------------"
|
||||
@@ -165,6 +193,7 @@ case "$1" in
|
||||
echo "10 => a load today soccer, WITH proxy"
|
||||
echo "11 => a load all sport no date limit, NO proxy"
|
||||
echo "12 => clear queue and restart"
|
||||
echo "13 => a) open vpn tunnel\n b) copy tournaments to local\n e) close vpn tunnel\n d) grap sofascore\n e) create zip archive\n f) mail zip archive"
|
||||
echo "--------------------------"
|
||||
echo ""
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user