Schedule agents to work automatically — recurring tasks, periodic reports, and automated workflows on a cron schedule.
Background jobs let agents work without human intervention. Schedule tasks to run at specific times or on recurring intervals.
A background job is a scheduled task that triggers an agent automatically. Instead of manually starting a session and typing instructions, the job runs on a cron schedule and sends a predefined message to an agent.
| Type | Description |
|---|---|
| New Session | Creates a fresh session for each run — clean context every time |
| Message Session | Sends a message to an existing session — continues a running conversation |
New Session is best for independent, repeating tasks. Message Session is useful when the job needs ongoing context from previous runs.
When a job triggers:
Jobs use cron expressions to define when they run:
| Expression | Schedule |
|---|---|
0 9 * * * | Every day at 9:00 AM |
0 9 * * 1 | Every Monday at 9:00 AM |
*/30 * * * * | Every 30 minutes |
0 0 1 * * | First day of every month at midnight |
0 */6 * * * | Every 6 hours |
Jobs run in your configured timezone.