---
schema_version: "1"
id: 401c6e448c5b6abea653779ca6459c4fbd740d0d7093f497c4f3c3aa73117ea7
title: Schedule Smarter with Priority Scheduling
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_integrate_priority_schedule.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_priority_schedule.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 03511faddfdb0be08fe3fe6ec3e577732457b0b06edc5d4ee2ecfa1e6d5f8873
description: Priority scheduling for CRM Analytics recipes automatically manages your run queue. It prioritizes smaller and faster runs while ensuring that larger and longer runs are completed on time. Priority is automatically calculated based on factors such as historic runtime, dataset input size, and CSV file size. Priority scheduling is most helpful to smooth out occasional queue-time spikes. If you never or frequently see long queue times, then priority scheduling isn’t as helpful. Activate the feature in advance to manage your queue, not during a problem when your queue is already overloaded. This feature doesn’t increase your maximum number of concurrent runs.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Schedule Smarter with Priority Scheduling

Priority scheduling for CRM Analytics recipes automatically manages your run queue. It prioritizes smaller and faster runs while ensuring that larger and longer runs are completed on time. Priority is automatically calculated based on factors such as historic runtime, dataset input size, and CSV file size. Priority scheduling is most helpful to smooth out occasional queue-time spikes. If you never or frequently see long queue times, then priority scheduling isn’t as helpful. Activate the feature in advance to manage your queue, not during a problem when your queue is already overloaded. This feature doesn’t increase your maximum number of concurrent runs.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in Salesforce Classic and Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available with CRM Analytics, which is available for an extra cost in <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions. Also available in <strong>Developer</strong> Edition.</td></tr></tbody></table>

For example, you schedule three recipes to run at the same time. One is larger with more rows and runs for 30 minutes. The other two are smaller with fewer rows and run for three minutes. The larger recipe’s run request arrives a millisecond before the shorter requests. Without priority scheduling, requested runs are queued first in, first out, so the smaller runs wait 30 minutes until the larger run finishes. With priority scheduling, the smaller recipes execute first because of their shorter run time, followed by the larger run. If higher-priority runs continue to queue in front of the longer run, the queue temporarily switches to first in, first out an hour after the scheduled request.

1. From Setup, enter Analytics in the Quick Find box, then select **Settings**.
2. Select **Use priority scheduling for recipe and dataflow requests**.
3. Click **Save**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)
    
    Note You can disable priority scheduling at any time to return to a first in, first out queue.

#### See Also

- [Run a Recipe Manually](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_job_recipe_run.htm&release=264.0.0&type=5 "Run a CRM Analytics recipe for the first time to create the datasets it defines. Run it again to update the dataset with the latest synced data.")
- [Schedule a Recipe to Run Automatically](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_job_recipe_schedule.htm&release=264.0.0&type=5 "You can schedule a CRM Analytics recipe to run at a specific time or after an event. Use time-based scheduling to ensure that fresh data is available by a particular time or to run the job during non-business hours. You can schedule a recipe to run hourly, weekly, monthly, or on specific days of the week or dates. Use event-based scheduling to run a recipe after the sync runs to ensure that datasets include the latest data. If you split data prep across multiple recipes, use event-based scheduling to chain these recipes together to obtain the desired outcome automatically.")
- [Run a Dataflow Manually](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_dataflow_run.htm&release=264.0.0&type=5 "Run a dataflow for the first time to create the datasets it defines. Run it again to update the dataset with the latest synced data.")
- [Schedule a Dataflow to Run Automatically](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_dataflowjob_reschedule.htm&release=264.0.0&type=5 "You can schedule a dataflow to run after an event, such as when a sync job completes. Or you can schedule it to run hourly, weekly, monthly, or on specific days of the week or dates.")