Updated on 2026-08-05 GMT+08:00

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

Table 1 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

  1. Log in to CodeArts Agent IDE as instructed in Quick Start.
  2. On the chat panel, click to go to the Scheduled Task page.
  3. On the Scheduled Task tab, click Create Scheduled Task.
  4. 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.

  5. 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

Table 3 Managing scheduled tasks

Operation

Procedure

Enabling or disabling a scheduled task

On the Scheduled Task tab, click or next to a scheduled task to enable or disable it.

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 to execute the scheduled task immediately.

Modifying a scheduled task

On the Scheduled Task tab, hover the pointer over and choose Edit to modify a scheduled task.

Deleting a scheduled task

On the Scheduled Task tab, hover over and choose Delete to delete a scheduled task immediately.

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.