Skip to content
SecondStack SecondStack Docs

Jobs: scheduled agent runs

Updated · Checked against SecondStack v3.7.2This page as Markdown
On this page
Labels on this page
Aster, the personal agent
Personal Assistant
Aster, in the New job form
My Assistant
the project agent
Project Assistant
a named agent
Agent
a scheduled run
Job

A Job is a scheduled or on-demand run of an agent: one-time, recurring or started by a webhook, with typed parameters and a chosen destination for its results. A Job runs without you at the keyboard, under your authority and on your budget, and it posts its result where you told it to. The Chat App lists every Job under Jobs in the rail.

The screen below shows the Jobs list with its state filters and one row per Job, as Aster (Personal Assistant in the app) and your named agents fill it.

Jobs· Chat App
Jobs New job
AllNeeds attentionPlannedOn demandPausedFinished
  • News briefing Next run Mon 07:30 Active
  • Inbox check Next run Today 17:00 Active
  • Review queue Runs on demand Active
  • Day ahead No upcoming run Paused
The Jobs list at v3.7.2: the state filters, and one row per Job with its next run and its state.

Who runs a Job, and who pays

The agent you pick in the form runs the Job as that agent would answer a chat, so Aster runs it as you and a named agent runs it as itself. Aster, which the form calls My Assistant, uses your connected accounts, your Collections and your Memory, and every run charges your own budget. A named agent uses its own accounts and pays by its Who pays setting, which Owners and budgets explains. Before every run the platform checks that you still have access to the agent and the agent still has access to its tools.

A Job runs on the server without you, so two things are unavailable to it: browser tools, and anything that would ask you a question. A run that reaches such a tool fails.

Create a Job

You create a Job from the Jobs page, and the form drafts most of it from one sentence. The form below is filled in for a recurring news briefing that Aster posts to a new private thread each weekday.

New job· Chat App · Jobs
Create job Describe the work, choose who should do it, and decide when it runs.
Describe what you want done
Every weekday at 7:30, a daily roundup of news on the topics I follow, with links.
Agent and destination
My Assistant

The Agent you pick decides where results can go

Results go to
New private thread
Schedule
One-timeRecurringOn demand Weekdays07:30

Time zone Europe/Berlin · Each run Continues the conversation

Runs on the server without you: browser tools and anything that would ask you a question are unavailable. Create job
The New job form at v3.7.2, filled in for a recurring briefing that My Assistant posts to a new private thread each weekday.
  1. Choose Jobs in the rail, then New job.
  2. Write the work under Describe what you want done, for example “Every Monday at 9, summarise last week’s project threads”, and choose Continue. Aster drafts the instructions and the schedule for you to adjust. Start from scratch opens the empty form instead, and Or start from an idea offers six ready-made Jobs: News briefing, Inbox check, Day ahead, Industry watch, Review queue and Reminder.
  3. Under Agent and destination, keep My Assistant or pick a named agent. The agent you pick decides where results can go.
  4. Under Results go to, choose a destination from the next section.
  5. Set the schedule: One-time, Recurring or On demand, with a Time zone.
  6. Choose Create job. Use Run now on the Job’s page to see the first result without waiting for the schedule.

Schedules: one-time, recurring, on demand

A Job runs once at a set time, on a repeat you choose, or only when something starts it.

  • One-time runs at one date and time, which you pick in a date picker.
  • Recurring repeats Daily, on Weekdays, Weekly, Monthly, on Chosen days, Every few hours or on a Custom rule. Custom takes a five-field cron line, as in “every Monday at 09:00”, and times follow the Job’s time zone.
  • On demand runs only when you choose Run now, when a webhook calls it, or when a message arrives from its event source. You add webhooks on the Job’s page after you save it.

After a scheduler outage each due Job runs once for the time it missed. A paused Job does not catch up: when you resume it, it continues from the present, and a one-time Job whose moment passed while paused needs a new time before it resumes.

Where the results go

Each run posts its result to one destination, and the agent you picked decides which destinations are open.

  • Direct chat posts into your chat with the agent, and New private thread opens a new thread for each run.
  • Connected channel posts to a Slack or Telegram conversation you linked under Settings → Channels, as a top-level message. Slack and Telegram channels explains the link.
  • New thread with this Agent opens a thread with a named agent, and Job thread in the Project posts into a Project.

Aster posts only to your own chats and channels. To post in a Project, choose a named agent or create the Job inside the Project. Under Each run, the default Continues the conversation lets the agent see earlier runs and messages in the destination, and Starts a fresh conversation gives every run a new conversation and a new agent workspace, so files from earlier runs are not kept. The fresh option suits long or heavy Jobs.

Parameters and webhooks

An on-demand Job can take typed parameters, and a recurring or on-demand Job can start from another system over HTTP.

Parameters are values each run receives from Run now or from a webhook: Text, Number, Whole number, Yes or no or Choice, up to 20 per Job. The agent gets them as data next to the instructions, so the instructions refer to them by name. Only on-demand Jobs have parameters.

A webhook gives the Job its own Address and secret. You choose its Verification: a Standard Webhooks signature, which signs the delivery ID, time and body so a repeated delivery starts only one run, or a Bearer token, which authenticates the caller only, so the sender adds an Idempotency-Key header to avoid duplicate runs. A webhook body may be 64 KiB at most, and each address has its own rate limit. The Job answers 202 when it accepts a delivery, 401 for bad credentials, 409 when the Job is paused or the delivery ID was already used, 410 when the Job has ended, 413 for a body too large, 422 for an invalid body and 429 when the limit is reached. Webhook input reaches the agent together with the Job’s connections and tools, so share a secret only with senders you trust. One-time Jobs have no webhooks.

Pre-approved tools

A Job can run tools that would otherwise ask you first, because you approve them when you save the Job.

Under Pre-approved tools the form lists each tool of the agent’s connections as “operation on connection”, for example sending mail on Google Workspace, with a checkbox. Checked tools run without asking. An unchecked tool that needs approval cannot ask you during an unattended run, so the run fails when it reaches that tool. For Aster the list shows your own connections; for a named agent, the agent’s. Connections and tool approvals explains the approval levels behind this list.

Jobs in a Project

A Project member with Contribute or Manage access can create a Job that the project agent (Project Assistant in the app) runs inside the Project.

Each run uses the creator’s connected accounts, and what it finds is visible to every Project member; the form says so under Visible to Project members. Only the creator edits the Job, runs it now and manages its webhooks and pre-approved tools, and a Project manager can also pause, resume or cancel it. Under Work items a Project Job chooses One run or One run per item: with one run per item, each run finds items such as tickets or emails and handles each in its own thread, up to 25 items per run and 10 by default, and the summary lands where Run summary goes to points. Per-item runs need a thread or a Project as the destination, so a channel cannot take them. Projects, Spaces and Folders covers Project access.

Run, pause, cancel and watch

You control a Job from its page, and the list tells you which Jobs need you.

  • Run now runs the saved Job once, even when it is paused or outside its hours; access, budget and overlap limits still apply.
  • Pause and Resume stop and restart the schedule. Duplicate copies a Job into a new form.
  • Cancel job ends the Job for good: it will not run again, and its existing results remain available. There is no delete.

The list filters are All, Needs attention, Planned, On demand, Paused and Finished, and each Job shows Next run and its state. Each run shows Queued, Running, Run succeeded, Failed or Skipped, and a delivery state such as Delivery confirmed. A Job pauses itself when a failure needs you, such as an agent that was paused or a channel that is no longer available, and a run that the budget declines leaves the Job active. Under If a run is still active you choose Skip the next run or Run in parallel, and Maximum concurrent runs and Maximum attempts default to 1 and 3.

What Jobs do not do

  • A Job never opens a browser and never asks you a question. Work that needs either runs in a chat.
  • A Job posts only where you pointed it. No agent posts to a channel on its own, and Aster never posts in a Project.
  • A Job does not read its own mailbox or channel history. To start on new messages, give it an Event source on the Job’s page: one Gmail label, Outlook folder or Slack channel per Job. A Slack source takes new messages and thread replies from people in one channel the agent’s bot is listed in, including private channels; bot posts and edits do not start it, and earlier messages are not replayed.
  • A Job cannot be archived at v3.7.2. Cancel job ends it, and Finished keeps it in the list.
  • A fresh-conversation Job keeps no files between runs.
  • A Project Job cannot mention member agents in its run.