# Scheduled Tasks

Takumi can run the same task on a recurring schedule. This is useful for automating routine security checks, reports, and monitoring tasks.

To set up tasks from Slack, see [Slack Channel Settings](/docs/t/assessment/features/chat-interface/slack-configs.md). Tasks set up via Slack do not appear in the Shisho Cloud byGMO web console.

## Setting up a Task

### From the Chat Interface

Click the calendar icon in the chat input area.

![Open the task creation dialog](/docs/_md-assets/4def1d0604-takumi-web-tasks-01.png)

Fill in the following fields in the dialog:

- **Title**: A descriptive name for the task
- **Instructions**: What you want Takumi to do
- **Schedule**: Choose a one-time or a recurring schedule
- **Email Notification**: Who should receive the result after the task runs

![Task creation dialog](/docs/_md-assets/c4d865515a-takumi-web-tasks-02.png)

### Schedule Types

Schedules come in two flavors:

- **One-time task**: Runs once at a specific date and time
- **Recurring task**: Runs on a daily / weekly / monthly preset or a custom cron expression (e.g., `9 30 * */2 *` for 9:30 AM every two days)

:::warning
When scheduling a task, specifying a time before or equal to the submission time may cause the task to not be submitted properly.
:::

## Managing Your Tasks

:::note
You cannot change a task's scheduling type (one-time / recurring) after creation. Create a new task and delete the old one instead.
:::

### Editing from the Chat Area

When Takumi creates or suggests a scheduled task in chat, a task card with the task details appears. From the card you can:

1. Click the `menu` (`...`) button to see available actions
2. Select `Edit` to modify the task details in a dialog
3. Select `Delete` to remove the task

![Task card in chat](/docs/_md-assets/610b163f63-takumi-web-tasks-03.png)

### Viewing All Tasks

Click the calendar icon (📅) in the Takumi dashboard header to open the Tasks page.

![Tasks page](/docs/_md-assets/16a9a858e8-takumi-web-tasks-04.png)

### Editing a Task

To edit a task:

1. Find the task in the task list
2. Click the `menu` (`...`) button
3. Select `Edit` to change the schedule, instructions, or notification target

### Deleting a Task

To delete a task:

1. Click the `menu` (`...`) button on the task
2. Select `Delete` and confirm

![Task detail menu](/docs/_md-assets/a96d9112ae-takumi-web-tasks-05.png)

## Notification Targets

Task results can be delivered to:

- **Myself**: Only the logged-in user receives the notification
- **Group**: Sent to a notification group (useful for team-wide reports)

## Credit Consumption {#credits}

When the work a scheduled task asks Takumi to perform involves AI inference, credits are consumed each time the task runs. Consumption varies with what you actually ask Takumi to do.
