Schedule a Task by Sending an Action

To schedule a task, send an ScheduleTask ACI action to your IDOL Speech Server host and ACI port.

http://host:port/action=AddTask&ScheduleName=MyScheduleName&ScheduleTime=Hours;Minutes&Type=task&TaskParameters

where:

host is the IP address or name of the machine where IDOL Speech Server is installed.
port is the ACI port by which actions are sent to IDOL Speech Server (set by the Port parameter in the IDOL Speech Server configuration file's [Server]section).
ScheduleName is the name that you want to give the new schedule.
Hours are the hours that you want to run the schedule (0-23). Separate multiple hours with commas. If you want to run the schedule every hour, set Hours to an asterisk (*).
Minutes are the minutes that you want to run the schedule (0-59). Separate multiple minutes with commas.
task is the name of the configuration section where the options for the task are defined in the IDOL Speech Server tasks configuration file.
TaskParameters are the parameters (required and optional) for the task that you want to schedule.

For example:

http://localhost:13000/action=AddTask&ScheduleName=BreakingNewsENUS&ScheduleTime=*;0,30Type=LanguageModelBuild&ContentServer=content1.example.com&ContentDatabase=news&NewLanguageModel=${NAME}-${HOUR}${MINUTE}.tlm

This action creates a schedule to run a LanguageModelBuild task at 0 and 30 minutes past every hour. The LanguageModelBuild contacts an IDOL Content component to retrieve the training data, and creates a new language model with a name in the format ${NAME}-${HOUR}${MINUTE}.tlm, which uses the schedule name and the run time in the file name.

IMPORTANT:

If you use the ScheduleTask action to add a schedule, IDOL Speech Server does not update the configured schedule file. Schedules that you add in an action are available only until you stop the server.


_HP_HTML5_bannerTitle.htm