Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET /P ANSWER=Exact DB will go offline, do you wish to contine (Y/N)?
- if /i {%ANSWER%}=={no} (goto :no)
- if /i {%ANSWER%}=={n} (goto :no)
- if /i {%ANSWER%}=={yes} (goto :yes)
- if /i {%ANSWER%}=={y} (goto :yes)
- goto :no
- :yes
- echo Shutting down Exact in:
- echo 3...
- PING 1.1.1.1 -n 1 -w 1000 >NUL
- echo 2...
- PING 1.1.1.1 -n 1 -w 1000 >NUL
- echo 1...
- PING 1.1.1.1 -n 1 -w 1000 >NUL
- net stop SoeEmailServer
- taskkill /im Soeidental.Transport.exe /f
- net stop soeidental.transport
- net stop SoeidentalFrameworkService
- net stop SOEDBService
- net start SoeidentalFrameworkService
- @PING 1.1.1.1 -n 1 -w 2000 >NUL
- net start SoeEmailServer
- net start soeidental.transport
- Exit
- :no
- echo Exiting without changes...
- PING 1.1.1.1 -n 1 -w 2000 >NUL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement