Sunday, March 8, 2009

How to run a scenario at a specific time

Resolution/Solution:

Use scenario scheduler of Controller or Windows Scheduler

Using Scenario Scheduler of Controller:

  1. Open the scenario in the Controller.
  2. Go to Design Tab -> Edit Schedule -> Scenario Start time and set the time when you want to start the scenario.
  3. You need to click on Start Scenario button so that the Controller can trigger the scenario once the start time comes up.
Using Windows Scheduler:
Scenario Scheduler of Controller is limited to the effect that it can only be sheduled to be run at one time. In order to re-run it the scenario has to be edited again. Instead, you can do the following:
  1. You can have the scenario run from command line in a batch file.
  2. Then you schedule this batch file to run at different times from the Windows Scheduler. 

No comments:

Post a Comment