# Setting Job Priority

Scheduled jobs must sometimes be set as high or low priority items.

A job that is submitted with higher priority has a better chance of being executed and assigned resources more quickly than a job with lower priority.

**Job priority values**

| Priority value | Label | CLI example |
|  --- | --- | --- |
| 2 | Very High | `td query -P 2 <query_id>` |
| 1 | High | `td query -P 1 <query_id>` |
| 0 | Default | `td query -P 0 <query_id>` |
| -1 | Low | `td query -P -1 <query_id>` |
| -2 | Very Low | `td query -P -2 <query_id>` |


These settings help prevent normal priority jobs from running in parallel with high priority jobs.

1. Navigate to Data Workbench > Queries.
2. Select the query for which you want to set priority.
3. Select the ellipsis.


![](/assets/managing_jobs__360001457707__mceclip4.6992564d5b3b7b7b82b1e456e91e91651bf80181118b3a25684ca3b123737eca.b40d6bf5.png)

1. Select Edit query settings.


![](/assets/managing_jobs__360001457707__mceclip5.5208a1b78dbdea50b4988194a6ad8ec8d625c277e798971626d7c3b11bb7ec3f.b40d6bf5.png)

1. Set the Priority.


![](/assets/managing_jobs__360001457707__mceclip6.68b756b8df79600090dc588bb86cc1714a1aa576760c5bdaf541354daf5eee8a.b40d6bf5.png)

1. Select OK to save changes and exit.


Optionally, from the command line you can use:

`td query -P <priority> <query_id>`