Scheduled Tasks
Create scheduled tasks to automatically run preset operations and export results at custom times or intervals without manual effort.
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
- 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.
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.
- 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
| Operation | Procedure |
|---|---|
| Enabling or disabling a scheduled task | On the Scheduled Task tab, click 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 |
| Modifying a scheduled task | On the Scheduled Task tab, hover the pointer over |
| Deleting a scheduled task | On the Scheduled Task tab, hover the cursor over 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. |
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




