Scheduled Tasks
You can create and manage scheduled tasks using natural language, including periodic tasks (such as daily code checks) and one-time tasks (such as commit reminders for next day). This allows for flexible task scheduling and control.
Constraints
| Category | Description |
|---|---|
| Maximum number of concurrent tasks | A maximum of three scheduled tasks can be enabled at the same time for a single project. |
| Scheduled task time range | The execution time range of a scheduled task cannot exceed seven days (including the start day). |
Creating a Scheduled Task
- Log in to CodeArts Agent IDE as instructed in Quick Start.
- On the chat panel, click
to go to the Scheduled Task page. - On the Scheduled Task tab, click Create Scheduled Task.
- Set the scheduled task parameters and click OK. Figure 1 Creating a scheduled task
Table 2 Scheduled task parameters Parameter
Description
Name
Name of the scheduled task, which helps identify and manage the task.
Project Folder
Project to which the scheduled task belongs. This parameter cannot be modified.
Prompt
Enter an instruction for creating the scheduled task, for example, "Sort out the sales data of this month and generate a report."
Frequency
How often the task will be executed.
- Daily: Executes the task once a day at a specified time, for example, 08:00 a.m. every day.
- Weekly: Executes the task on specified days and time, for example, 09:00 a.m. every Monday and Tuesday.
- Cron expression: Executes the task at a time defined using the standard Cron syntax.
- Periodic: Executes a task at a specified interval, for example, once every hour.
- On the Scheduled Task tab, view the created scheduled tasks.
You must enable a scheduled task before it can be automatically executed.
Managing Scheduled Tasks
| Operation | Procedure |
|---|---|
| Enabling or disabling a scheduled task | On the Scheduled Task tab, click A maximum of three scheduled tasks can be enabled for a single project. |
| Executing a scheduled task immediately | Before executing a scheduled task, ensure that it has been enabled. On the Scheduled Task tab, click |
| Modifying a scheduled task | On the Scheduled Task tab, hover the pointer over |
| Deleting a scheduled task | On the Scheduled Task tab, hover over The scheduled task is removed from the list, indicating that it is successfully deleted. CAUTION: Deleted scheduled tasks cannot be restored. Exercise caution when performing this operation. |
| Checking the execution records of a scheduled task | On the Execution Records tab, specify the task status and execution time range to view the execution details of all or specified scheduled tasks in this range. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot




