---
url: https://bishop.agentdeployment.co/running/schedules.md
description: >-
  Running a prompt on a schedule and posting the answer only when the agent has
  something to say.
---

# Scheduled Prompts

Bishop can run a prompt on a clock and post the answer where you say, only when the agent has something to say.

```sh
bishop schedules add \
  --name "CI check" \
  --cron "0 9 * * 1-5" \
  --to "#ops" \
  --prompt "Check CI on main. If nothing is broken, answer <no-output>."
```

For a reminder that runs once, give `--at` instead of `--cron`: an ISO 8601 time like `2026-10-09T15:00`, read in `--tz` unless it carries an offset. A reminder is deleted once it runs.

`--to` takes `#channel` or `@person` for Slack, or an email address for Gmail: Bishop resolves it once, when you add the schedule, and shows it back the same way. Slack's member list leaves out people from other organizations in a shared channel, so Bishop finds one of them by name or email only once it has seen a message from them. Until then, give their Slack member ID, which starts with `U`. A Slack destination needs [three scopes](/interfaces/slack#scopes) an older app may not have.

Use `--model` to run a schedule on a different model, and `--effort` to set its effort level, with the names your harness accepts. For example, use a stronger model for deep analysis and a cheaper one for a short summary. If you leave either out, the schedule uses the agent's configured model or effort. Replies to a report use the schedule's model and effort too. If the schedule's creator or destination drops below write permission, the schedule uses the configured model and effort instead.

```sh
bishop schedules list          # everything scheduled here, in your own time zone
bishop schedules disable <id>  # stop it firing, keep it
bishop schedules enable <id>   # start it again, from now
bishop schedules rm <id>       # remove it
```

Schedules live in `bishop.db`, not in a config file, so `bishop schedules list` is the only way to see what the agent will do tomorrow. A schedule added here runs at admin, capped by the level of where it reports.

## What to expect

* **Silence is the normal outcome.** Bishop posts nothing when the agent answers `<no-output>` or says nothing at all. `NOTHING TO REPORT` still works. Tell the agent in the prompt what's worth reporting: that criterion is yours, not Bishop's.
* **Nothing streams.** A scheduled turn is invisible while it runs, on Slack as much as on email, because Bishop can't unsay a report it turns out not to want. There's no way to stop one mid-turn.
* **Every firing is a fresh session.** The agent doesn't remember the last one, so tell it to write down anything it needs to carry over.
* **A firing can share files and read public channels, and nothing else of Bishop's.** It runs as Bishop rather than as its author, so it can't create schedules or read a Slack message. It can search what was said in public channels on the interface its report goes to, list the threads there, and read whole threads, but only when everyone where the report goes is inside your organization. A report to a channel with a guest in it, or to email, can't. A nightly task that reads the day's public threads is one schedule.
* **A report is a thread.** Reply to it and the agent picks up from that report.
* **`--cron` is five fields**, read in `--tz` (defaults to this machine's zone), and no more often than every five minutes. `@daily` and friends work.
* **Nothing fires while Bishop is stopped, and nothing catches up.** A firing missed while it was down is skipped, and the log says so. A firing whose previous run is still going is skipped too.
* **A missed reminder is reported to whoever set it.** On startup Bishop messages them directly about each reminder that came due while it was down, then deletes it. A Teams user the app can't message directly is told at the reminder's destination instead. A reminder added with `bishop schedules add` has nobody to message, so only the log says.
* **A failure is never silent.** A reminder that fails says so once and is gone. A repeating schedule posts to the destination on the first failed run, records the reason in `schedules list`, and after five failures in a row turns the schedule off and says so. Re-enable it with `bishop schedules enable`.
* **A firing runs at its author's level, capped by where it reports.** Bishop checks both at every firing: the lower of the author's [permission level](/running/access) now and the level of the channel it posts to, or for email or a Teams group chat the lowest among the recipients. A DM or a personal chat has no level of its own, so a report there runs at its author's. Lowering someone's level lowers their schedules, and deny stops them. A reply to a report keeps the level the firing ran at.

## Asking the agent for one

You can also just ask, in a thread or an email:

> @agent send me a report every morning at 9am in #ops, and stay quiet if there's nothing to say

or, for something that happens once:

> @agent remind me Friday at 3pm to check the deploy

The agent writes the schedule itself, and Bishop wakes up and delivers it. Creating, changing or removing one needs write, so ask from a conversation at write or above. Leave the destination out and it posts back into the conversation you asked in. You can also ask the agent to set the schedule's model or effort. To change either later, ask again, or ask for `default` to go back to the configured value.

Slack refuses a channel the app isn't in, and Gmail refuses an address at deny, and you're told so in the thread rather than finding out at nine tomorrow. You can ask by email for something to land in Slack: the destination decides where it goes, not where you asked from. Teams is the exception, because it writes channels and people the same way Slack does: asked in Teams, `#ops` and `@Kim` mean Teams. See [Teams](/interfaces/teams#reports).

Two limits the command line doesn't have, both because the agent is picking rather than you:

* **It won't start DMing someone without a level**, and won't send mail to an address whose level comes only from `permissions.default`. Posting in a channel is fine, since the app had to be invited there. Use `bishop schedules add` to aim somewhere the recipient hasn't opted into.
* **Twenty schedules per person.** Ask for a twenty-first and it'll tell you to remove one first.

What the agent can see is narrower. It lists and removes schedules you created, plus any that post into the conversation you're in, and nothing else, so asking it won't name private channels you aren't in. `bishop schedules list` still shows everything, naming who asked for each.
