wip
This commit is contained in:
1 parent
cd91e3b708
commit
c30aaa15fe
32 files changed
+365
-10160
No files matched your search
+42
-13
@@ -8,43 +8,72 @@ case "$1" in
|
||||
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
|
||||
php artisan nuh --d --f 67 --run=2 --task=1
|
||||
|
||||
echo "\n⚽ close tunnel"
|
||||
killall ssh
|
||||
|
||||
echo "\n⚽ grap avilable tournaments for given days"
|
||||
php artisan nuh --d --f 73 --prc=5
|
||||
php artisan nuh --d --f 67 --run=5 --task=1
|
||||
|
||||
echo "\n⚽ grapp data sofascore"
|
||||
php artisan nuh --d --f 72
|
||||
php artisan nuh --d --f 67 --run=6 --task=1
|
||||
|
||||
echo "\n⚽ create zip archive"
|
||||
php artisan nuh --d --f 73 --prc=3
|
||||
php artisan nuh --d --f 67 --run=3 --task=1
|
||||
|
||||
echo "\n⚽ mail archive"
|
||||
php artisan nuh --d --f 73 --prc=4
|
||||
php artisan nuh --d --f 67 --run=4 --task=1
|
||||
|
||||
echo "\n😎 done :)"
|
||||
;;
|
||||
"2")
|
||||
# AUTO GRAPPER SOFASCORE (production no debug and slow)
|
||||
# AUTO GRAPPER SOFASCORE (production no debug and 10s breaks)
|
||||
killall ssh
|
||||
ssh -f -N -L 13306:127.0.0.1:3306 -p 58371 root@162.55.242.190
|
||||
php artisan nuh --f 73 --prc=2
|
||||
php artisan nuh --f 67 --run=2 --task=1
|
||||
killall ssh
|
||||
php artisan nuh --f 73 --prc=5
|
||||
php artisan nuh --f 72
|
||||
php artisan nuh --f 73 --prc=3
|
||||
php artisan nuh --f 73 --prc=4
|
||||
php artisan nuh --f 67 --run=5 --task=1
|
||||
php artisan nuh --f 67 --run=6 --task=1
|
||||
php artisan nuh --f 67 --run=3 --task=1
|
||||
php artisan nuh --f 67 --run=4 --task=1
|
||||
;;
|
||||
"3")
|
||||
# AUTO GRAPPER SOFASCORE (debug)
|
||||
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 67 --run=2 --task=2
|
||||
|
||||
echo "\n⚽ close tunnel"
|
||||
killall ssh
|
||||
|
||||
echo "\n⚽ grap avilable tournaments for given days"
|
||||
php artisan nuh --d --f 67 --run=5 --task=2
|
||||
|
||||
echo "\n⚽ grapp data sofascore"
|
||||
php artisan nuh --d --f 67 --run=6 --task=2
|
||||
|
||||
echo "\n⚽ create zip archive"
|
||||
php artisan nuh --d --f 67 --run=3 --task=2
|
||||
|
||||
echo "\n⚽ mail archive"
|
||||
php artisan nuh --d --f 67 --run=4 --task=2
|
||||
|
||||
echo "\n😎 done :)"
|
||||
;;
|
||||
*)
|
||||
echo ""
|
||||
echo "--------------------------"
|
||||
echo "apple damon grapper sofascore"
|
||||
echo "--------------------------"
|
||||
echo "1 => debug runs faster and echos notices"
|
||||
echo "2 => for production no notices"
|
||||
echo "1 => debug max 5sec intervals | print notes | yesterday | soccer task_id:1"
|
||||
echo "2 => prod max 10sec intervals | no notes | yesterday | soccer | task_id:1"
|
||||
echo "3 => debug max 5sec intervals | print notes | manual dates or range | soccer | task_id:2"
|
||||
echo "--------------------------"
|
||||
echo ""
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user