2023-03-16 09:55:13 +00:00
---
title: Task Scheduler
---
:::important Enterprise Feature
2024-09-15 08:38:55 +00:00
The Task Scheduler application is available under the ClearML Enterprise plan.
2023-03-16 09:55:13 +00:00
:::
ClearML's Task Scheduler Application lets you schedule tasks for one-shot and/or periodic execution at specified times.
The Scheduler is useful for scheduling routine operations, such as backups, generating reports, as well
as periodically running pipelines for updating data and models.
2023-06-11 09:04:16 +00:00
Each scheduling job is configured with ClearML tasks and a scheduling specification for each task: the time
2023-03-16 09:55:13 +00:00
for execution and recurrence type. The Scheduler app will then launch copies of the specified tasks at their specified
times.
## Scheduler Instance Configuration
2024-08-27 10:59:02 +00:00
* **Import Configuration** - Import an app instance configuration file. This will fill the instance launch form with the
2024-08-19 11:42:12 +00:00
values from the file, which can be modified before launching the app instance
2023-03-16 09:55:13 +00:00
* **Scheduled Tasks**
2023-06-11 09:04:16 +00:00
* **Base Task ID** - ID of a ClearML task to clone and enqueue for execution at the specified time.
* **Destination Project** - The project where the task will be cloned to.
2023-03-16 09:55:13 +00:00
* **Queue** - The [ClearML Queue ](../../fundamentals/agents_and_queues.md#what-is-a-queue ) to which scheduled tasks are enqueued (make sure an agent is assigned to that queue)
* **Recurrence** - Recurrence type, select one of the following options:
* **None** - The task will run once at the specified time.
* **Daily** - Task will run every day at the times specified in the `Time of the Day` field
* **Weekly** - Task will run every week on the specified day, at the times specified in the `Time of the Day` field
* **Monthly** - Task will run every month on the specified days, and at the times specified in the `Time of the Day` field
* **Time of the Day** - The time(s) (UTC) at which the task should run
* **Add item** - Add another task to schedule
* **Scheduling Job Name** - Name for the Scheduler instance. This will appear in the instance list
2024-08-19 11:42:12 +00:00
* **Export Configuration** - Export the app instance configuration as a JSON file, which you can later import to create
a new instance with the same configuration
2023-03-16 09:55:13 +00:00
2025-02-10 07:54:13 +00:00
< div class = "max-w-65" >
2025-02-05 15:53:30 +00:00


2023-03-16 09:55:13 +00:00
2025-02-10 07:54:13 +00:00
< / div >
2023-03-16 09:55:13 +00:00
## Dashboard
Once a Task Scheduler instance is launched, the dashboard displays a summary of the scheduled tasks.
2025-02-05 15:53:30 +00:00


2023-03-16 09:55:13 +00:00
The Task Scheduler dashboard shows:
* Scheduled Tasks - Table of tasks scheduled for execution. The table displays the ID of the task scheduled for execution,
2023-03-16 11:01:21 +00:00
the queue where it will be enqueued, and when it is scheduled to be executed. Each row presents a specific time that
the task is scheduled to be executed (both recurring and not). In the image below, the task in the first row is
scheduled to be launched daily (`day=1`) at 06:20 UTC (`minute=20, hour=6`).
The task in the third row is scheduled to be launched every month (`month=1`) on the 15th at 12:00 UTC (`day=15, hour=12`).
2025-02-05 15:53:30 +00:00


2023-03-16 09:55:13 +00:00
* Executed Tasks - Table of tasks that have been executed. The table displays the `started` time, which is the time
the task was enqueued, and its `finished` time, which is the time the task's execution was completed. If it says `None` ,
under the `finished` column, the task has not yet completed its execution.
2023-03-16 11:01:21 +00:00
2025-02-05 15:53:30 +00:00


2023-03-16 11:01:21 +00:00
* Scheduler Log - Application console log containing everything printed to stdout and stderr. The log
includes when the scheduler syncs, and when it launches tasks for execution.
2023-05-17 08:38:28 +00:00
:::tip EMBEDDING CLEARML VISUALIZATION
You can embed plots from the app instance dashboard into [ClearML Reports ](../webapp_reports.md ). These visualizations
are updated live as the app instance(s) updates. The Enterprise Plan and Hosted Service support embedding resources in
external tools (e.g. Notion). Hover over the plot and click < img src = "/docs/latest/icons/ico-plotly-embed-code.svg" alt = "Embed code" className = "icon size-md space-sm" / >
to copy the embed code, and navigate to a report to paste the embed code.
:::