Quantcast
Channel: SCN : Discussion List - BI Platform
Viewing all articles
Browse latest Browse all 5403

batch start stop for BI 4.1 on windows...

$
0
0

Hi,

It is for BI 4.1 on Windows.

I have a written stop script as follwos -

 

FOR  /F "tokens=1,2,3,4 delims=/ " %%l IN ("%DATE%") do (set day=%%n&& set mth=%%m&& set yr=%%o)
set dte=%yr%%mth%%day%
set dte=%dte:~0,10%

echo Start of the log %DATE% %TIME% >> "K:\logs\stopBI_%dte%.log"
@echo off
NET STOP BOEXI40SIAServerName >> "K:\logs\stopBI_%dte%.log"
timeout /NOBREAK 30
@echo off
NET STOP BOEXI40Tomcat >> "K:\logs\stopBI_%dte%.log"
@echo off
NET STOP SQLANYs_SQLAnywhereForBI >> "K:\logs\stopBI_%dte%.log"
timeout /NOBREAK 30
echo End of the log %DATE% %TIME% >> "K:\logs\stopBI_%dte%.log"

 

My issue is that it stops the services but it start immediately in 1-2 minuits or so. The wintel services are set to Manual. The services in CMC - Servers ate set to automatic. I am suspectiing it to be Windows issue as the same script works fine on another server. I just want to make sure that if I have missed any setting.

 

Please advice if anybody has come across this issue.

Thank you,

SS


Viewing all articles
Browse latest Browse all 5403

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>