# routines

> Routines: work Nexus does for you without being asked, such as a morning brief on a schedule. A routine runs as you only, reads and notifies only, and reports to your Slack direct messages. You manage your own; your organization's owners and admins may read, pause and delete them.

Routines: work Nexus does for you without being asked, such as a morning brief on a schedule. A routine runs as you only, reads and notifies only, and reports to your Slack direct messages. You manage your own; your organization's owners and admins may read, pause and delete them.

## nexus routines list

```sh
nexus routines list [--all]
```

Your routines, newest first, with each one's next run; --all lists the organization's (owners and admins).

| Option | Meaning |
| --- | --- |
| `--all` | Every member's routines (owners and admins) |

```sh
nexus routines list
```

## nexus routines show

```sh
nexus routines show <id>
```

A routine: its trigger, action, proactivity, caps, state and next run.

## nexus routines create

```sh
nexus routines create --at <HH:MM> [--days mon-fri] | --every <interval> [--timezone <zone>] [--title <title>] [--max-runs-per-day <n>] [--team <slug>]
```

Create a morning brief on a schedule, for you only; prints its id and next run. The brief reads only, and reports to your Slack direct messages.

| Option | Meaning |
| --- | --- |
| `--at <HH:MM>` | A local time, HH:MM, 24-hour |
| `--days <mon-fri>` | The days --at runs on, such as mon-fri or mon,wed,fri (default: every day) |
| `--every <interval>` | An interval of 10 minutes or more, such as 30m, 2h or 1d; not with --at |
| `--timezone <zone>` | An IANA time zone, such as America/Costa_Rica (default: UTC) |
| `--title <title>` | A name for the routine (default: Morning brief) |
| `--max-runs-per-day <n>` | The most runs a day; a slot past it is skipped |
| `--team <slug>` | The team its model calls go to, by slug or id (default: yours) |

```sh
nexus routines create --at 08:00 --days mon-fri --timezone America/Costa_Rica
```

## nexus routines pause

```sh
nexus routines pause <id>
```

Pause a routine: its schedule stops before its next slot.

```sh
nexus routines pause rtn_…
```

## nexus routines resume

```sh
nexus routines resume <id>
```

Resume your routine from its next slot after now; nothing missed is replayed.

```sh
nexus routines resume rtn_…
```

## nexus routines delete

```sh
nexus routines delete <id>
```

Delete a routine and its schedule.
