EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB20311: How to use MicroStrategy Command Manager and Windows Scheduler to start or stop MicroStrategy Narrowcast Server


Community Admin

• Strategy


Article outlines how to use MicroStrategy Command Manager and Windows Scheduler to start or stop MicroStrategy Narrowcast Server

SYMPTOM:
Automatic scheduled start or stop of Strategy Narrowcast Server can be accomplished by using "Scheduled Tasks" in a Windows operating system along with Strategy Command Manager. To achieve this, perform the following steps:
 

  • Using Strategy Command Manager, create a script file for starting the Strategy Narrowcast Server as "startserver.scp":
    START SYSTEM;
  • Note:
    The Syntax to stop the Narrowcast system is STOP SYSTEM;
     
  • Using the Command Manager script file created in the first step; create a batch file that can be used to start the Strategy Narrowcast Server.
    "" -n "" -u -p -f
  • For example:
     
    "C:\Program Files\MicroStrategy\Administrator\Command Manager\cmdmgr.exe" -n "Strategy Tutorial Direct" -u Administrator -p 007007 -f C:\startserver.scp
  • Save the file as Filename.bat, (i.e. "startserver.bat").
     
  • Create a schedule for starting the Strategy Narrowcast Server with the above batch file using "Scheduled Tasks" in a Windows operating system. To achieve this, perform the following steps:
    • Go to Start > Settings > Control Panel > Scheduled tasks > Add Scheduled Task and click 'Next', as shown below:
ka04W000000OeNTQA0_0EM440000002BBM.jpeg
    • Select 'Browse', as shown below:
ka04W000000OeNTQA0_0EM440000002BBQ.jpeg
    • Find the location of the 'startserver' batch file created above:
ka04W000000OeNTQA0_0EM440000002BBI.jpeg
    • Enter the time frame on which the task schedule should be based and click 'Next':
ka04W000000OeNTQA0_0EM440000002BBS.jpeg
    • Select the time and day on which this task will be performed and click 'Next':
ka04W000000OeNTQA0_0EM440000002BBP.jpeg
    • Enter the Windows NT account with Task Scheduling privileges, as shown below:
ka04W000000OeNTQA0_0EM440000002BBN.jpeg
    • Click on 'Finish' to complete the schedule task creation for starting the Strategy Narrowcast Server:
ka04W000000OeNTQA0_0EM440000002BBU.jpeg

Comment

0 comments

Details

Knowledge Article

Published:

June 10, 2017

Last Updated:

June 10, 2017