Run a coding agent on a schedule
Save a prompt once and Sinatra starts it as a new task on the schedule you pick: bump dependencies every Monday, look for flaky tests every night, audit production config on the first of the month. Each run works in its own sandbox like any other task, and opens a pull request when the work calls for one.
The schedules you can pick
A recurring task is a prompt and a schedule. It repeats one of four ways:
Daily. Every day.
Weekdays. Monday to Friday.
Weekly. On the days you tick.
Monthly. On one day from 1 to 28, so every month has it.
Each of those days can have up to four times. Times are in the time zone you pick, which starts as your browser's, and they follow that zone's clock across daylight saving changes. Before you save, Sinatra reads the schedule back as a sentence and lists the next three runs. There's no hourly schedule.
Setting one up
In the dashboard at app.sinatra.dev, open Start work and tick Repeat under the prompt. Or open Recurring in the sidebar, where the same box always schedules.
A recurring task has no repository picker. Each run starts with none and the agent picks one, so say which repository to work in if it matters. The task is named after the prompt's first line.
Choose Daily, Weekdays, Weekly or Monthly, set up to four times, and check the time zone. The sentence and the next three runs under the controls show what you set. Select Schedule.
The recurring task's page shows the next run, the prompt and every run so far, each linked to its task.
What each run does
Each run is an ordinary task, started as the person who created the recurring task. It goes through the same checks as a task they start from the dashboard: billing, model access, GitHub, and the plan's limit on agents at a time. It shows up in Tasks like any other task, and its page links back to the recurring task.
A run doesn't start while the previous one is still going. If the last run is still working, queued or waiting for your reply, that time is marked Skipped, or Needs your reply. Reply to or stop the earlier task and the next scheduled time runs normally.
A full queue doesn't pause it. A run that comes due while your agents are busy waits in the queue like any task. If the queue is full too, the run shows Starting and keeps trying until just before the next scheduled time. If nothing frees up, it's recorded as Not started, and the recurring task stays on.
Run now starts a run straight away without moving the schedule. It's refused while the previous run is still going, and if the queue is full it says so instead of retrying.
When a run is refused
If a scheduled run is refused because of billing, model access or the GitHub connection, Sinatra pauses the recurring task instead of failing again at every scheduled time. Its page says why and links to the fix, and the owner gets an email saying the same. Fix the cause and select Resume. Runs pick up at the next scheduled time; missed times don't run late. If the owner leaves the workspace, the next run is refused and the task pauses the same way.
An email when a run ends
Email me when a run ends is on for a new recurring task, and the owner can turn it off on its page. With it on, the owner gets one email per run when its agent finishes, opens a pull request, needs a reply or fails. The email has the status and a link to the run, never the agent's reply. It and the pause email are both task alerts, so turning task alerts off in your email preferences stops both.
Who can change a recurring task
The person who creates a recurring task owns it, and every run starts as them. Ownership can't be transferred: to hand one over, the other person creates their own and you delete yours. Each person can have up to 10 active recurring tasks in a workspace; paused ones don't count.
| Action | Creator | Workspace owner or admin | Other members |
|---|---|---|---|
| See recurring tasks and their runs | Yes | Yes | Yes |
| Create their own | Yes | Yes | Yes |
| Edit the prompt, schedule or email setting | Yes | No | No |
| Run now, resume | Yes | No | No |
| Pause, delete | Yes | Yes | No |
From the CLI, MCP and API
sinatra recurring lists, creates, edits, pauses, resumes, runs and deletes recurring tasks, Sinatra's MCP server has a tool for each, and the API does the same. The same rules apply: a token acts as the person it belongs to, who owns what they create. The commands are in the recurring tasks docs.
What it costs
Recurring tasks are on every plan, Free included, and each run counts against the plan's agents at a time like any task you start. Free is 1 agent at a time, plus 1 waiting, with no daily limit and no card. Pro is $20 a month for the whole workspace: 3 agents at a time, plus 10 waiting, any number of people. Bring your own Claude, ChatGPT or Cursor subscription, or an API key. Sinatra never bills for model usage. That's between you and your provider.
Common questions
Can a task run every hour?
No. There's no hourly schedule. The most often a recurring task runs is four times a day, every day. Weekly runs on the days you tick, and monthly on one day from 1 to 28.
Which repository does a run work in?
A recurring task has no repository picker, so each run starts without one and the agent picks one, the way a task started from the API without a repository does. Name the repository in the prompt when it matters.
What if the last run is still going?
The next scheduled time is skipped, so runs don't pile up. A run that is still working, queued or waiting for your reply holds back the next one until you reply to it or stop it. Run now is refused for the same reason.
Who can edit or stop a recurring task?
Only the person who created it can edit it, resume it or run it now, and every run starts as them. Workspace owners and admins can pause or delete it. If the creator leaves the workspace, the next run can't start and the task pauses; since only the creator can resume it, an owner or admin deletes it.
How many recurring tasks can I have?
Up to 10 active recurring tasks per person in each workspace. Paused ones don't count.
Which plans include recurring tasks?
Every plan, including Free: 1 agent at a time, plus 1 waiting, no card. Runs share that limit with everything else you start: a run that comes due while your agents are busy waits like any task, and if the queue is full it keeps trying until just before the next scheduled time. Bring your own Claude, ChatGPT or Cursor subscription, or an API key. Sinatra never bills for model usage. That's between you and your provider.
You can also hand Sinatra one-off work from a Linear assignment, the Sinatra label on a GitHub issue, a Slack mention, an MCP client or the CLI and API. Questions about recurring tasks go to contact@sinatra.dev, or see Support.