Scheduler
What you can do
Section titled “What you can do”With /loop, you can send a prompt automatically at a fixed interval or at a set time. In “Scheduler” in the sidebar, you can list loops and open, edit, pause, resume, and stop them.
When to use it
Section titled “When to use it”Use it when you want to ask the Agent to do the same check or task regularly. For example, you can ask it to run the tests at a fixed interval, or to summarize the previous day’s status at the same time every day.
Start a loop
Section titled “Start a loop”Type one of the following formats in the input box and send it.
/loop 10m <message>: Sends at a fixed interval. The units ares,m, andh, and the interval must be between 1m and 24h. The first message is sent right after the loop starts./loop 9:00 <message>: Sends at the same time every day. It does not send right after the loop starts; it sends at the specified time.
If you type in any other way, the schedule is interpreted before the loop starts. The schedules that can be interpreted are interval, daily, weekly, and once. Daily, weekly, and once loops do not send right after they start; they send at the specified time. If the schedule cannot be interpreted, a message asks you to specify it again. The Sub Model is used to interpret schedules written in text.
/loop cannot run in the following cases.
- During a response
- When there are attachments
- When it specifies repeating an app command (
/new,/compact,/steer,/loop) - When the schedule or the message is missing
The number of loops is as follows.
- In a normal worktree and in the Super Secretary, you can have only one loop. Running a new
/loopstops the existing loop and replaces it. - In a Bot’s dedicated chat, new loops are added without stopping the existing ones, and you can have several.
Loops do not run while the app is closed. While a loop is running, its status (schedule, next run time, and message) is shown above the input box.
Stop a loop
Section titled “Stop a loop”- Send
/loop stopto stop all loops of that worktree. - “Stop” on a row in the Scheduler stops only that loop.
- Sending
/newalso stops the loops of that worktree (including paused loops).
Review and manage loops in the Scheduler
Section titled “Review and manage loops in the Scheduler”- Press “Scheduler” in the sidebar. The list of loops appears. Paused loops are also shown.
- Use the buttons on each row.
- Open: Opens the chat of that loop.
- Edit: Edits the loop’s prompt.
- Pause: Pauses the loop. On a paused row, “Pause” changes to “Resume”.
- Stop: Stops the loop.
The list shows the schedule, start time, and number of runs. The next run time is also shown, but it may not appear on paused rows, or while an interval loop is running or waiting to run.
