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: