Restart SAPB1 services daily

Issue: Our SAP B1 often has login issue; users will be prompted for Server’s IP when they run the program. It means that SAP B1’s one of the services is not running properly.
Suggestion from our vendor’s SAP Consultant is to restart TAO NT Naming Service (restart this service, other services – SAP Business One BackUp Service and SAP Business One License Manager will also restart).
No permanent solution from our vendor The World Management Pte Ltd.
Hope they don’t sue me.

Workaround solution:
Created a batch file that schedule to run before office starts work.

Restart_SAPB1_Svr.bat
REM_Stop Services_
sc stop SBOMail
sc stop TAO_NT_Naming_service
timeout /t 10
REM_Start Services_
sc start SBOMail
sc start TAO_NT_Naming_Service
REM_Output results to a text file
del c:\temp\run.txt /F
sc query SBOMail > C:\temp\run.txt
sc query TAO_NT_Naming_Service >>C:\temp\run.txt

Beside login issue, I also facing Purchasing users unable to send fax or email from SAP B1, therefore I need to restart SBOMail service.

Last two lines are to output results to a text file, for fun only.

Advertisements