---
title: Add Tasks to the Task Scheduler
slug: help/en-us/dairycomp/task-scheduler
docTags: 
createdAt: 2026-01-26T11:43:17.681Z
---

<font color="#67854E">**Question**</font>: How do I schedule a new task in DairyComp?

<font color="#67854E">**Answer**</font>: You can add the new task to DairyComp's Task Scheduler. Follow the instructions below:

1. Open DairyComp.
2. Type `ALTER` in the command line and press `ENTER`.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/3QGaISc8IAQLahs5RpyX8_adding-tasks-to-the-task-schedular.png" size="32" width="192" height="111" position="flex-start" darkWidth="192" darkHeight="111" showCaption="false"}
3. Choose Option 6 - `Schedule Tasks`.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/5cOvStWR2oQXLjC3vc6YC_adding-tasks-to-the-task-schedular1.png" size="32" width="390" height="258" position="flex-start" darkWidth="390" darkHeight="258" showCaption="false"}

:::Paragraph{indent="1"}
This opens the Task Scheduler window, which displays a list of all current tasks.
:::

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/PkBM5eioRg_O0IglXNOLp_task-scheduler-main.png" size="32" width="825" height="471" position="flex-start" darkWidth="825" darkHeight="471" showCaption="false" indent="2"}

4. In the upper left corner, click **Add \[Ins]**.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/6B5srCMs-Dkn_adLPHH_8_adding-tasks-to-the-task-schedular2.png" size="32" width="681" height="284" position="flex-start" showCaption="false"}

:::Paragraph{indent="1"}
This opens a pop‑up window where you will define details for the new task (see example in the next step).
:::

5. Enter the **Next Date** and **Next Time** that you would like the task to run. The time must be in 24‑hour military format.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/wZ2Jhdu9yOxz-QTJ7tuHT_adding-tasks-to-the-task-schedular3.png" size="32" width="422" height="362" position="flex-start" showCaption="false"}
6. Choose an **Interval Unit** to define how often you want the task to run.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/2L_5y4XsTNyQaep-ENqtX_adding-tasks-to-the-task-schedular4.png" size="32" width="386" height="144" position="flex-start" showCaption="false"}
7. In the **Interval** field, enter a value for the frequency above.
   For instance, if you want the task to run once every day, you will select **Days** for the **Interval Unit** and enter a **1** for the **Interval** field, indicating that the task will run every 1 day.
8. In the **Command To Run** field, type the command you would like to run.
9. Click **OK** in the upper right corner when you are finished.
   This saves the new task and schedules it to run on the Next Date and Next Time that you specified above. The system returns you to the list of commands in Task Scheduler at this point.
10. To double‑check your work, double‑click on the command you just added. You should see the command populated in the box below. Click **Cancel** once you are done checking the task.

    ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/x3lhVTPSMtUXY1pd2Lc4V_adding-tasks-to-the-task-schedular5.png" size="32" width="422" height="362" position="flex-start" showCaption="false"}
11. Click **Exit** in the bottom left corner of the Task Scheduler window to close it.



