Integration Server 10.5 | Built-In Services Reference Guide | Scheduler Folder | Summary of Elements in this Folder | pub.scheduler:suspendTask
 
pub.scheduler:suspendTask
WmPublic. Suspends a task on the Scheduler.
Input Parameters
taskID
String Identification number of the task to suspend.
If your server runs as part of a cluster of servers, and you have scheduled a task to run on all servers in the cluster, note the following before canceling a task:
*If you suspend a parent task, the task will be suspended on all servers in the cluster.
*If you suspend a child task, the task will be suspended only on the server on which the child task was scheduled to run.
For more information about parent and child tasks, see pub.scheduler:getTaskInfo or the chapter about managing services in webMethods Integration Server Administrator’s Guide.
Output Parameters
taskSuspended
String Indicates whether the task was successfully suspended. If the task was successfully suspended, taskSuspended contains true. If the task was not successfully suspended, the server throws an exception and terminates the service.
Usage Notes
If you want to cancel a task or remove a task from the scheduler, use the pub.scheduler:cancelTask service.