Skip to content

Logo Logo

Prioritizing Jobs and Gear Execution

Introduction

The Job Prioritization feature provides users with the flexibility to prioritize the execution of Gears, allowing for improved efficiency in user workflows such as data curation, quality control, and other user-initiated tasks in the system. With the ability to set priorities for ad-hoc Gear runs and batch Gears, users can reduce their wait time and have more control over the scheduling process. In addition, automated Gears can also be prioritized based on their specific purpose, resulting in productivity improvements for users.

Instruction Steps

Job Priority Levels

The Job Prioritization feature provides four priority levels for Gear jobs:

  • critical
  • high
  • medium
  • low

When no priority is explicitly set, the default priority level is medium.

Set the Priority of Individual and Batch Gear Jobs

Users have the ability to set the Job Priority for both ad-hoc Gear runs and batch Gear runs. The priority information provided will be used in the Job scheduling process to insert the Job into the proper place in the queue.

Single Gear run:

userprio.gif

Batch Gear Run:

17946278026387.png

Modifying Priority of Enqueued Jobs

In addition to ad hoc jobs, users also have the ability to modify the priority of existing enqueued jobs individually or in bulk, as long as these jobs have not started yet. This feature allows users to influence the jobs picked up by the scheduler and prioritize certain jobs over others.

To modify the priority of enqueued jobs:

  1. Ensure that you have the appropriate permissions to manage the jobs.
  2. Navigate to the Jobs Log, check the box next to the job(s) you want to modify the priority of.
  3. Select Update Priority from the Action menu.
  4. Enter a new priority and then click Update Priority.

userprio2.gif

Note: Changing the priority of jobs may not always guarantee immediate execution. Custom configuration, as well as resource availability, can also affect job execution order.  When there are multiple jobs with the same priority, the job with the earliest creation timestamp will be picked up first.

Job Priority in Gear Rules & Gear Rule Templates

If you have permissions to create Project Gear Rules and/or Site Gear Rule Templates it is possible to set the priority for jobs initiated by those Gear rules.

To set the priority for jobs initiated by a given Gear rule, simply select the desired "Job Priority" level from the dropdown when configuring the rule, as shown below.

userprio3.gif