Advertisement
Carbalite

Restart SOE Confirmation

Jul 15th, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. SET /P ANSWER=Exact DB will go offline, do you wish to contine (Y/N)?
  2. if /i {%ANSWER%}=={no} (goto :no)
  3. if /i {%ANSWER%}=={n} (goto :no)
  4. if /i {%ANSWER%}=={yes} (goto :yes)
  5. if /i {%ANSWER%}=={y} (goto :yes)
  6. goto :no
  7. :yes
  8. echo Shutting down Exact in:
  9. echo 3...
  10. PING 1.1.1.1 -n 1 -w 1000 >NUL
  11. echo 2...
  12. PING 1.1.1.1 -n 1 -w 1000 >NUL
  13. echo 1...
  14. PING 1.1.1.1 -n 1 -w 1000 >NUL
  15. net stop SoeEmailServer
  16. taskkill /im Soeidental.Transport.exe /f
  17. net stop soeidental.transport
  18. net stop SoeidentalFrameworkService
  19. net stop SOEDBService
  20. net start SoeidentalFrameworkService
  21. @PING 1.1.1.1 -n 1 -w 2000 >NUL
  22. net start SoeEmailServer
  23. net start soeidental.transport
  24. Exit
  25. :no
  26. echo Exiting without changes...
  27. PING 1.1.1.1 -n 1 -w 2000 >NUL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement