Skip to main content
A Scheduled Task runs a Craft prompt for you on a recurring schedule. Each run starts a fresh Craft session in the background, records its result in run history, and continues whether or not you have Onyx open. Use Scheduled Tasks for work that has a predictable cadence and a clear definition of done.
Test the prompt in a normal Craft session first. Schedule it only after it reliably finds the right information, produces the intended output, and handles missing data safely.

What each run can access

Scheduled Tasks are available in all editions. They run as the person who created them. Each run uses that person’s current:
  • Onyx permissions and company knowledge access.
  • Connected Apps, MCP plugins, and external-account permissions.
  • Available Skills.
  • Library files.
A run starts in a new session, so it does not inherit the conversation or attachments from the session where you tested the prompt. Move reusable reference files to your Library, or point the prompt to company knowledge or a connected App.
A Scheduled Task does not automatically send you its result. If the output should go to Slack, Gmail, Google Drive, or another destination, say so in the prompt and configure that App for unattended use. Otherwise, review the output from the task’s run history.

Create a Scheduled Task

Open Scheduled Tasks from the Craft sidebar, then select New Scheduled Task.
1

Write a self-contained prompt

Describe what Craft should inspect, the time window, what qualifies for inclusion, the desired output, and where to deliver it. Type / to select a specific Skill or connected App from the prompt picker.
2

Choose a schedule

Use Interval to run every set number of minutes or hours. Use Daily / Weekly to choose a time and, optionally, specific days of the week.
3

Choose plugins

Under Plugins, select Enable for this task only for the Apps and MCP plugins the task must use without you present. Open each one’s Approval settings to set its policies for the task. Connect required Apps before creating the task.
4

Save and test

Select Save to wait for the next scheduled time, or Save and run now to queue the first run immediately.
The New Scheduled Task form with name, prompt, schedule, and pre-approved Apps

Write a prompt that can run unattended

Craft cannot ask you a useful follow-up while a Scheduled Task runs in the background. Front-load the decisions it would otherwise need from you: For example:
Review the #customer-escalations Slack channel and open P1 issues in Linear for activity from the last 24 hours. Include only items that are blocked, overdue, or need an executive decision. Group them by account and list the owner, impact, and next step. Post the final digest to #support-leads. If nothing qualifies, post “No new escalations.”
Use a relative time window that matches the cadence, such as “during the last 24 hours” for a daily task. Fixed dates quickly become stale in a recurring prompt.

Understand schedule timing

Daily and weekly times are interpreted using your browser’s local time when you save the task. Interval schedules run on repeating clock boundaries rather than a fixed delay after the previous run finishes.
The saved schedule does not automatically adjust when your UTC offset changes. Review and resave time-based tasks after traveling, changing time zones, or a daylight-saving transition.

Set task approval settings carefully

A Scheduled Task runs without you present, so nobody can answer an approval card during the run. Each task has its own Plugins section with per-App Approval settings. Only the Apps and MCP plugins that you enable there are available to the task. Each App starts with your current approval settings. Changes apply only to that task. If your admin set an action to Disabled, a task cannot turn it on. If your admin turned off Let users manage approval settings for an App, the workspace policies apply to the task.
Keep the prompt and the list of enabled Apps as narrow as possible. Auto-approve only the actions that the task must perform. Be especially cautious with Apps that can send messages, modify customer data, delete content, or publish externally.

Review run history

Open a task to see its plugins, approval settings, and Run history. Select a run after it creates a session to inspect its messages, files, previews, and artifacts. Queued runs do not have a session yet, and skipped runs never create one, so those rows cannot be opened. Watch for Onyx notifications when a run fails or reaches Awaiting approval. Failed and approval-blocked runs are not retried automatically.
For an Awaiting approval run, open the generated session to see which action stopped it. Then edit the task’s approval settings, or narrow the prompt so it avoids that action, and use Run once to try again.

Manage a task

From the task detail page, you can: Deleting a task does not cancel a run that is already queued or running.

Troubleshooting

Open the run session from history and inspect its output. If the task should deliver somewhere else, add an explicit destination to the prompt, connect that App, and set the delivery action to Auto-approve in the task’s approval settings.
Check the row summary. If the previous run was still queued or running, make the prompt smaller or use a less frequent schedule. A run can also be skipped when Craft is disabled for the task owner.
Open the generated session when available. Confirm required Apps are still connected, Skills and Library files still exist, and the prompt can finish within one run. After correcting the task, select Run once.

Connect Apps

Connect delivery destinations and understand approvals before running work unattended.

For admins

Enable Craft and review the deployment, worker, App, and governance requirements.