Open topic with navigation

# Schedule a Task by Sending an Action

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

    http://host:port/action=ScheduleTask&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:15000/action=ScheduleTask&ScheduleName=BreakingNewsENUS&ScheduleTime=*;0,30&Type=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, unless you use the `SaveSchedules` action to save the schedules to a schedule configuration file.

© 2015-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm