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

# Routines

> The 9 adside commands for Routines.

See [Using commands](https://docs.adside.ai/cli/commands.md) for how flags, JSON input, paging and confirmations work. Run `adside routines --help` to see what your installed version has.

## routines

### routines create

Approve and create a scheduled routine; returns it with `task.url`, its page in Adside.

```bash theme={null}
adside routines create --name <name> --instructions <instructions> --cron-schedule <cron-schedule> [flags]
```

| Flag | Value |
| - | - |
| `--name` (required) | `<name>` |
| `--instructions` (required) | `<instructions>` |
| `--cron-schedule` (required) | `<cron-schedule>` |
| `--timezone` | `<timezone>` |
| `--enabled` | `true\|false` |
| `--slack-channel-id` | `<id>` |

### routines delete

Delete a scheduled routine.

```bash theme={null}
adside routines delete --task-id <id>
```

### routines get

Read a routine and its recent actions.

```bash theme={null}
adside routines get --task-id <id>
```

### routines list

List workspace routines.

```bash theme={null}
adside routines list
```

### routines run

Trigger an immediate authorized routine run.

```bash theme={null}
adside routines run --task-id <id>
```

### routines runs

Read recent routine runs.

```bash theme={null}
adside routines runs --task-id <id> [flags]
```

| Flag | Value |
| - | - |
| `--task-id` (required) | `<id>` |
| `--limit` | `<number>=5` |
| `--run-id` | `<id>` |

### routines templates

List active routine templates and their suggested skills.

```bash theme={null}
adside routines templates
```

### routines update

Approve routine edits and reauthorize its future runs.

```bash theme={null}
adside routines update --task-id <id> [flags]
```

| Flag | Value |
| - | - |
| `--task-id` (required) | `<id>` |
| `--name` | `<name>` |
| `--instructions` | `<instructions>` |
| `--cron-schedule` | `<cron-schedule>` |
| `--timezone` | `<timezone>` |
| `--enabled` | `true\|false` |
| `--slack-channel-id` | `<id>` |

## routines runs

### routines runs recent

Read recent results across this workspace's routines.

```bash theme={null}
adside routines runs recent --since <since> [flags]
```

| Flag | Value |
| - | - |
| `--since` (required) | `<since>` |
| `--limit` | `<number>=10` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.