Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SET GAPI= [your api for google maps]
  2. SET auth= [Auth service, either google or ptc]
  3. SET username= [your user]
  4. SET password= [your password]
  5. SET thread=-t 1
  6. SET locale=EN
  7.  
  8. taskkill /IM python.exe /F
  9. echo Starting worker processes....
  10.  
  11. Start "[whatever name you want" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l [location one] -st 5 -H 0.0.0.0 -P 5000 -k %GAPI% -L %locale% %thread%
  12. ping 0.0.0.0 -n 6 > nul
  13.  
  14. tart "[whatever name you want" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l [location one] -st 5 -H 0.0.0.0 -P 5001 -k %GAPI% -L %locale% %thread%
  15. ping 0.0.0.0 -n 6 > nul
  16.  
  17. echo Waiting 30 minutes to restart all processes
  18. ping 0.0.0.0 -n 1801 > nul
  19.  
  20. goto start
  21. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement