Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.1 KB

queues.md

File metadata and controls

37 lines (24 loc) · 1.1 KB
description
Custom job queues for scripts.

Queues

You can assign computers to queues by using application settings. By default, every computer is assigned to the default queue and a queue specific to the computer itself. When you assign a computer to a custom queue, that queue will be available in the admin console and you can use the queue for ad-hoc script execution and schedules.

{% hint style="warning" %} Queues with no active computers will queue jobs indefinitely. {% endhint %}

Configure a Queue

To a configure a computer to a specific queue, use the UniversalAutomation \ Queues setting.

appsettings.json

Assign a machine to a queue using an appsettings.json file.

"UniversalAutomation": {
    "Queues": ["windows7"],
}

Environment Variable

Assign a machine to a queue using an environment variable.

$ENV:UniversalAutomation__Queues = "windows7"

Using a Custom Queue

Custom queues will be available within the Computer drop down in the script Run dialog, and trigger, script and schedule properties.