Explore Crewship
All features

Routines

Agent jobs on a schedule, a webhook or a button.

02:00fetchagent stepapprovereport

A routine is work you would otherwise do by hand, written down once. It runs on time, can hand a step to an agent, waits for a person where it matters, and keeps every run on the record.

What a routine can do

  • Run on a schedule

    Cron with a catch-up policy: missed occurrences collapse into one run, and repeat failures trip a breaker.

  • Start from a webhook

    HMAC-signed JSON or GitHub pull requests. Only opened, synchronize and reopened start a run.

  • Wait for a person

    A waitpoint pauses the run until someone answers in the Inbox, then it carries on.

  • Survive a restart

    Accepted webhooks keep their run identity across restarts and resume at least once.

How to set one up

  1. Write it, or let an agent draft it

    A routine is a declarative workflow: inputs, outputs and a graph of steps. Write it yourself, copy one, or ask an agent.

  2. Test before it runs

    Test routine checks it without real calls. Test this step runs one step on sample data.

  3. Publish with a risk review

    Publishing shows what the routine may reach and which credentials it needs. Every version is kept, and rollback is one call.

Example routines 3

  • OperationsEvery night at 02:00, rotate backups older than 14 days and post a summary to the Inbox.
  • ReviewersWhen a pull request opens, review the diff and comment on it.
  • FinanceOn the first of the month, draft the billing digest and wait for approval.

Details 6

Status
Stable. Event automations are in beta.
Triggers
Cron, signed webhooks, manual or slash command
Versions
Immutable history, one-call rollback
Views
Calendar and Recent runs
CLI
crewship routine

Questions

What happens if the server is down at 02:00?

When it comes back, the boot sweep catches up. Missed occurrences collapse into one run instead of many.

What if a routine keeps failing?

After a set number of failures in a row the schedule turns itself off, and you get an Inbox item to repair it.

Is a routine budget a bill?

No. Budgets are guardrails that stop a run, not invoices.

Sources

Checked on 20 October 2026 against the Crewship docs and changelog.