Open topic with navigation

# Schedule a Task by Sending an Action

To schedule a task, send an `ScheduleTask` ACI action to your HPE 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 HPE IDOL Speech Server is installed.
`port` | is the ACI port by which actions are sent to HPE IDOL Speech Server (set by the `Port` parameter in the HPE 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 HPE 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, HPE 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.

© 2015-2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE 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 AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm