Updated on 2026-07-29 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 tasks are allowed 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.

    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, "Back up data every day at 8:00 a.m."
    • Weekly: Executes the task once a week on a specified day and time. For example, "Send the weekly report every Monday at 9:00 a.m."
    • 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. Return to the Scheduled Task page. The created scheduled task is displayed in the task list.

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

On the Scheduled Task tab, click to execute the scheduled task immediately.

Before executing a scheduled task, ensure that it has been enabled.

Modifying a scheduled task

On the Scheduled Task tab, click 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, set the start time and end time to check the execution details of all scheduled tasks in this period. The execution status can be Completed, Pending, or Running.