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

KB17572: How to delay the execution of a MicroStrategy Narrowcast Server service triggered by a script within a batch file


Community Admin

• Strategy


As part of standard administrative tasks, a batch file can be created to execute a series of Strategy Command Manager 10.x scripts to trigger Strategy Narrowcast Server 10.x services. For more information about executing a command manager script through a command line interface, refer to the following Strategy Knowledge Base technical note:

KB6392: How to execute a command manager script through a command line interface with Strategy Administrator - Command Manager 9.x

A single batch file can contain more than one script to be executed. Sometimes, administrators may require that the execution of a subsequent script be delayed for a certain amount of time. For example, a second script within the batch file should be triggered after two hours have elapsed since the first script was triggered.
 
In the Microsoft Windows operating systems, this can be accomplished by using the 'sleep' command in the batch file. In the following syntax 'N' stands for the number of seconds to wait:
 
sleep N
By placing this line between scripts in a batch file, the subsequent script will not be triggered before reaching the specified delay time.
 
Note: This command may not be available out-of-the-box. Sometimes a Resource Kit for the specific Windows operating system needs to be downloaded.
 
Third Party Software Installation:
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
 
Article Reference Number: 17572


Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

September 30, 2018