> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sigmic.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Scheduled Tasks

> Automate recurring work with cron-based scheduled agent tasks

# Scheduled Tasks

Scheduled tasks let you run AI agent sessions automatically on a recurring schedule. Instead of manually starting a conversation each time, define a task once and let it run on its own — daily, weekly, hourly, or on any custom schedule.

## Business Use Cases

<CardGroup cols={2}>
  <Card title="Daily Reports" icon="chart-line">
    Generate daily sales summaries, inventory snapshots, or KPI dashboards every morning before your team starts work.
  </Card>

  <Card title="Recurring Data Analysis" icon="magnifying-glass-chart">
    Analyze weekly marketing metrics, customer churn trends, or financial data on a set schedule and deliver results to your workspace.
  </Card>

  <Card title="Automated Monitoring" icon="bell">
    Check competitor pricing, monitor website uptime, track social media mentions, or scan for regulatory changes at regular intervals.
  </Card>

  <Card title="Periodic Content Creation" icon="pen-to-square">
    Draft weekly newsletters, generate social media post ideas, or prepare recurring email campaign content automatically.
  </Card>

  <Card title="Data Collection & ETL" icon="database">
    Scrape data from websites, aggregate information from multiple sources, or transform and clean datasets on a schedule.
  </Card>

  <Card title="Compliance & Auditing" icon="clipboard-check">
    Run periodic compliance checks, generate audit reports, or validate that systems meet required standards.
  </Card>
</CardGroup>

## Creating a Scheduled Task

1. Open the **Scheduled Tasks** page from the Chat UI sidebar
2. Click **Create Task**
3. Configure the task:

| Field        | Description                                                                              |
| ------------ | ---------------------------------------------------------------------------------------- |
| **Name**     | A descriptive name for the task (e.g., "Daily Sales Report")                             |
| **Message**  | The prompt that the agent will execute each time the task runs                           |
| **Schedule** | A cron expression defining when the task runs (e.g., `0 9 * * 1-5` for weekdays at 9 AM) |
| **Timezone** | The timezone for the schedule (e.g., `America/New_York`)                                 |

4. Click **Save** to create the task

### Cron Expression Examples

| Expression    | Schedule                             |
| ------------- | ------------------------------------ |
| `0 9 * * *`   | Every day at 9:00 AM                 |
| `0 9 * * 1-5` | Weekdays at 9:00 AM                  |
| `0 */6 * * *` | Every 6 hours                        |
| `0 9 * * 1`   | Every Monday at 9:00 AM              |
| `0 0 1 * *`   | First day of every month at midnight |

## Managing Tasks

### Enable / Disable

Toggle a task on or off without deleting it. Disabled tasks retain their configuration but won't run until re-enabled.

### Run Now

Trigger a task immediately without waiting for the next scheduled time. Useful for testing or when you need results right away.

### View Run History

Each task keeps a history of past runs. Click into any run to see the full conversation — the agent's responses, tool calls, and any files it generated. This gives you full transparency into what the agent did during each execution.

### Edit & Delete

Update a task's message, schedule, or timezone at any time. Delete tasks you no longer need.
