Updated on 2026-09-17 GMT+08:00

Scheduled Tasks

Create scheduled tasks to automatically run preset operations and export results at custom times or intervals without manual effort.

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

Storage

Local storage.

Task data is stored in %USERPROFILE%/.codeartsdoer/codearts-data/cron.

Runtime requirement

Scheduled tasks run only while the computer is awake and the client is running.

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

    Instructions for the scheduled task. For example: "Sort this month's sales data 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 at a fixed 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.

    By default, a scheduled task is enabled, that is, it is in the active state.

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 at the same time for a single project. To start a new task, stop a currently enabled task first.

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 the cursor over and click Delete to delete the scheduled task immediately.

If the scheduled task is removed from the list, it has been 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.