Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET GAPI= [your api for google maps]
- SET auth= [Auth service, either google or ptc]
- SET username= [your user]
- SET password= [your password]
- SET thread=-t 1
- SET locale=EN
- taskkill /IM python.exe /F
- echo Starting worker processes....
- 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%
- ping 0.0.0.0 -n 6 > nul
- 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%
- ping 0.0.0.0 -n 6 > nul
- echo Waiting 30 minutes to restart all processes
- ping 0.0.0.0 -n 1801 > nul
- goto start
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement