> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Scheduling deployments

noindex: true

If you want to [deploy a project](../deployments/main) on a regular
basis, Data Science & AI Workbench enables you to schedule the deployment. For example,
you can schedule a deployment that’s resource intensive to run after regular
business hours, or to import new data on a weekly basis.

<Note>
  A task that’s run via a scheduled deployment can read data previously
  committed to the project from an editor session, but cannot be used to
  commit any new data to it. **Any data written to a container for a scheduled
  deployment will be deleted immediately after the associated task runs**, so
  Anaconda recommends that you ensure data is read from and written to
  [external data sources](../data/load).
</Note>

**To schedule a deployment:**

1. Open the project you want to schedule a deployment for by clicking on it in
   the **Projects** list.

2. Click **Schedules** in the menu on the left.

3. Click **New** if it’s the first schedule to be created for the project, or
   the Schedule button if there are existing schedules.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/6fJRxAwYs9izUc34/images/create-schedule1.png?fit=max&auto=format&n=6fJRxAwYs9izUc34&q=85&s=bfb00ecdc32f7845380bfa73dd4292f5" alt="" width="2448" height="1392" data-path="images/create-schedule1.png" />
   </Frame>

4. Give the schedule a meaningful name to help differentiate it from any other
   schedules.

5. Specify whether you want to deploy the latest version of the project, or
   select a particular version.

6. Specify the **Deployment Command** to use to deploy the project. If there is
   no deployment command listed, you cannot deploy the project.

   Return to the project and add a deployment command, or ask the project owner
   to do so if it’s not your project. See [Configuring project settings](./project-config) for more information about adding deployment commands.

7. Choose the runtime resources your project requires to run from the
   **Resource Profile** drop-down, or accept the default. Your Administrator
   configures the options in this list, so check with them if you aren’t sure.

8. Use the controls to specify how often and when you want to schedule the
   deployment, or select **Custom** and enter a valid `cron` expression.

<Note>
  All scheduled times are in UTC (Coordinated Universal Time).

  Alternatively, if you want it to run *now*—instead of scheduling it—select **Run Now**.
</Note>

1. Click **Schedule** to create the schedule, and display it’s details. You can
   use the available controls to pause, refresh, edit, or delete the schedule.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/SgtHPGS_3WUV3NOk/images/schedule-details1.png?fit=max&auto=format&n=SgtHPGS_3WUV3NOk&q=85&s=8f7cbb454343e733cf0f4db66179a7e7" alt="" width="1872" height="1102" data-path="images/schedule-details1.png" />
   </Frame>

2. To view the new schedule in the list of schedules for the project,

   click **Schedules** in the menu on the left.

Use the controls above the **Schedules** list to pause or delete a selected
schedule, or click on a schedule in the list to view and edit its details.

<Note>
  Schedules that have already run can be deleted only, as there is nothing
  to pause.
</Note>

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/SgtHPGS_3WUV3NOk/images/scheduled-run1.png?fit=max&auto=format&n=SgtHPGS_3WUV3NOk&q=85&s=235d0908bbdef39252fd19ed2f9f5af2" alt="" width="2328" height="1058" data-path="images/scheduled-run1.png" />
</Frame>

To view a list of all the scheduled deployments that are currently running or
have already run, click **Runs** in the menu on the left.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/SgtHPGS_3WUV3NOk/images/schedule-runs1.png?fit=max&auto=format&n=SgtHPGS_3WUV3NOk&q=85&s=8a19d099d6b1a04ee4a9589978bdc2c0" alt="" width="2570" height="1154" data-path="images/schedule-runs1.png" />
</Frame>

Select a specific run in the list to enable the controls to refresh, stop or
delete it.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/SgtHPGS_3WUV3NOk/images/schedule-runs21.png?fit=max&auto=format&n=SgtHPGS_3WUV3NOk&q=85&s=46b6ed7b2c90c88a9db4e1e2ba10d8a3" alt="" width="2552" height="1156" data-path="images/schedule-runs21.png" />
</Frame>
