Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

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.

View as Markdown

nexus routines list

nexus routines list [--all]

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

OptionMeaning
--allEvery member's routines (owners and admins)
Examples
nexus routines list

nexus routines show

nexus routines show <id>

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

nexus routines create

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.

OptionMeaning
--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)
Examples
nexus routines create --at 08:00 --days mon-fri --timezone America/Costa_Rica

nexus routines pause

nexus routines pause <id>

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

Examples
nexus routines pause rtn_…

nexus routines resume

nexus routines resume <id>

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

Examples
nexus routines resume rtn_…

nexus routines delete

nexus routines delete <id>

Delete a routine and its schedule.

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.