Docs / Going further
Scheduled tasks
Some work comes round again and again: triaging new issues, checking dependencies, summing up the day. A scheduled task starts an agent for it on a schedule.
Create a scheduled task
- Open the Scheduled list in the sidebar (⌘3) and click New Scheduled Task….
- Name it, like "Dependency check".
- Describe what it should do each time, what's worth your attention, and how much it may do on its own. For example: "Check for outdated dependencies. Open a pull request for patch updates if the tests pass. Ask me before any major version upgrade."
- Choose When it runs. Pick a schedule with the controls, or type one in plain words.
- Choose where it Runs in: one of your projects, or No repository for work that doesn't need code, like summarizing your inbox.
- Click Create Scheduled Task.
Schedules you can type:
every 4h | Every four hours. |
hourly weekdays 9-18 | Every hour during the work day. |
daily 8:30 | Every morning at 8:30. |
wed 10am | Wednesdays at 10. |
Scheduled tasks run while Flotilla is open. If your Mac was asleep or Flotilla was closed at run time, the scheduled task runs once when it can.
Each run is an agent
When a scheduled task runs, it starts an ordinary agent, so you can open it and watch, or talk to it, like any other. A run that finds nothing to do quietly removes itself. One that runs past its time limit (10 minutes, unless you change it) is stopped, unless it's waiting on you.
Click a scheduled task to see its page: a Briefing the scheduled task writes as it goes, its current run, and a history of past runs, each with a one-line result like "Bumped 3 patch versions, opened #431."
Click Run Now on a new scheduled task to see how it does before its first scheduled run.
When a scheduled task needs a decision
A scheduled task can stop and ask you, for example to approve a risky change. Its row in the sidebar shows a bell, you get a notification, and its page shows the question with buttons to answer, plus room for a note. Your answer goes straight back to the agent and it carries on.
Pause, edit and more
- Switch a scheduled task's toggle in the sidebar off to pause it, or right-click it for Pause, Run Now and Edit Scheduled Task….
- Already have an agent doing something you'd like to repeat? Right-click it and choose Make Recurring….
- Keep a to-do list in Markdown? Under Briefing file in the scheduled task's settings, choose that file and the scheduled task uses it as its page.
- You can also just ask an agent: "set up a scheduled task that checks for new Sentry issues every morning".
Flotilla Free includes one scheduled task. Pro has no limit.
Flotilla