On this page
Schedule agent and workflow jobs in Generate
Run an agent or workflow on a schedule, once or on repeat with cron, set retries and end dates, read run history, and resume a job that Generate paused.
This page shows you how to run an agent’s task or a workflow at a time you choose, once or on repeat, with nobody waiting for it, such as a daily sales summary or a weekly ticket review.
Schedule an agent job
Section titled “Schedule an agent job”Set an agent to do a task on a clock.
-
Open Your jobs
Open the agent and select the Your jobs tab, below the message box. It lists the agent’s jobs, with Search jobs, a status filter and Schedule job.
Open full sizeShown in the enterprise edition. -
Select Schedule job
The Schedule job window opens.
Open full sizeShown in the enterprise edition. -
Name the job
Enter a Name, such as “Daily sales report”, and optionally a Description.
-
Set the first run
Under Scheduled at, pick the date and time of the first run.
-
Choose how it repeats
Under Repeat, keep Never for a single run, or choose one of the repeat options.
-
Set the timezone
Set the Timezone the schedule follows, such as UTC or London (GMT/BST).
-
Pick a project
Optionally pick a Project whose knowledge each run uses; No project is the default.
-
Write the task
Under What should the agent do?, write the task as you would in a chat.
-
Say when it is done
Optionally fill in Done when with a condition each run’s result must meet, such as “The summary cites at least three sources”, up to 2,000 characters.
-
Select Schedule job
Before saving, Generate may show Before it runs with questions the agent would otherwise have to guess on every run. Answer what you can and select Save answers; a skipped question is decided at run time and recorded.
Schedule a workflow job
Section titled “Schedule a workflow job”Run a workflow on a clock, with the inputs it takes.
-
Open Your jobs in the builder
In the workflow builder, open Your jobs from the toolbar menu and select Schedule job.
-
Fill in the schedule
The form has the same Name, Description, Scheduled at, Repeat, Timezone, Project and advanced retry options as an agent job.
-
Enter the inputs
Inputs replaces the task: enter the values the workflow takes on each run. Generate checks them against the workflow’s inputs and marks one as Required, Not an input of this workflow or Wrong type for this input; a workflow with none says “This workflow takes no inputs.”
-
Select Schedule job
There is no Done when, web search or memory option; the workflow’s own steps decide those.
A workflow that cannot be scheduled says so: “This workflow can’t be scheduled”.
Manage jobs
Section titled “Manage jobs”Pause, run, edit or delete a job, and read what its runs did.
-
Find the job
Each job on Your jobs shows its status and when it runs next (“Runs …”). Use Search jobs, or filter by Status: Active, Paused, Completed or Failed.
-
Open the job’s menu
Select an action from the job menu.
-
Read the run history
Select a job, or View run history, to see its Details and Run history: each run’s start, duration and status, with View result to open the chat or execution it produced.
A run that waits for an approval says “Waiting for approval”; open the execution to approve or reject it.
Repeat options
Section titled “Repeat options”| Option | What it adds |
|---|---|
| Never | A single run. |
| Every hour, Every day, Every month, Every year | A run at that interval from the first run. |
| Every week | Days, where you pick the weekdays it runs on. |
| Custom | A Cron expression in the five-field form minute hour day-of-month month day-of-week; 0 9 * * 1-5 runs at 09:00 on weekdays. The field says “Valid cron expression” once it reads one. |
Any repeat adds End repeat: Never, On date with an End date, or After with a number of Max runs.
Advanced options
Section titled “Advanced options”Select Show advanced options at the bottom of the window for:
| Option | What it does |
|---|---|
| Max retries | How many times a failed run is tried again |
| Retry delay (s) | How many seconds to wait between tries |
| Web search | Shows Always included when automatic web search is on in your Settings: every run may search the web. Turn it off in Settings, then Preferences. |
| Memory | Use my memory in these runs lets the job draw on what Generate remembers for you, and Remember from these runs lets it add to that memory. A switch your administrator or your settings turned off stays locked and says why. |
Job menu
Section titled “Job menu”- Edit, which a completed job no longer allows;
- Pause and Resume;
- Trigger now, to run it at once, which one-time jobs (Repeat set to Never) and completed jobs do not allow;
- Delete.
Why a job was paused
Section titled “Why a job was paused”Generate pauses a job when a run could not go ahead as set up. The job shows a short label; hover over it for the full reason.
| Label | What happened | What to do |
|---|---|---|
| Sign-in needed | A connection or MCP server the job uses needs you to sign in again. | Sign in; the job resumes on its own. |
| Needs an agent or shared account | Your administrator requires unattended runs to use an agent’s or a shared account. | Attach an account to the agent, or bind the step to a shared connection, then Resume. |
| Agent access lost, Workflow access lost, Project unavailable | You can no longer use the agent, workflow or project. | It resumes on its own when access returns. |
| Scheduling access lost | You no longer have the right to schedule jobs. | It resumes when your administrator grants it again. |
| Agent suspended, Workflow suspended | An administrator suspended it. | Resume once it is back. |
| Inputs need updating | The workflow’s inputs changed. | Edit the inputs, then Resume. |
| Workflow needs fixing | The saved workflow cannot run. | Fix it in the builder, then Resume. |
| Approvals unanswered | The last three runs waited for an approval nobody gave. | Resume when someone can answer. |
| Blocked by policy, Out of credit | Your organization’s policy refused a run, or the workspace ran out of credit. | Read the run history, then Resume once it is allowed. |
| Paused by admin, Owner deactivated, Owner changed | An administrator paused it, its owner left, or it changed owner. | Check it, then Resume. |
To start a job from another system instead of on a clock, see Call an agent over HTTP and Trigger a workflow over HTTP.
Last updated on