Overview
TES 6.2 has predefined queues (e.g. system queue). The queues may be further classified as:
-
Queue for long running scheduled jobs
-
Queue for short scheduled jobs
-
Queue for long running unscheduled (ad-hoc) jobs
-
Queue for short running unscheduled (ad-hoc) jobs
Typical Operations
-
Enable a specified queue (and make it active)
-
Set system queue limit – This operation specifies the number of jobs from the queue that can run at the same time
REST API Examples
From the browser, issue and then click
Manual Commands (Post)
to take you to the API post screen of the Client Manager. You can test the REST API examples from that screen. For valid parameters and successful execution of a request, you will get a response/result. For invalid parameters and unsuccessful execution of a request, you will get error messages and/or exceptions.
Example QUEUE–1: Enable a queue
The
Queue
object provides a method called
enable
. The first parameter
id
(e.g. 1) specifies the queue. The second parameter
active
(e.g. Y) specifies the status. The following REST API call will enable the specified queue and make it active.
<?xml version="1.0" encoding="UTF-8"?> <entry xmlns="http://purl.org/atom/ns#"> <tes:Queue.enable xmlns:tes="http://www.tidalsoftware.com/client/teservlet"> <tes:active>Y</tes:joblimit>