Scheduled Tasks
Scheduled tasks let users run configured agents once or on a recurring schedule. They are useful for daily reports, weekly summaries, customer briefings, knowledge checks, operational monitoring, competitor tracking, ticket reviews, and repeated analysis.
Scheduled tasks are not a way to bypass access controls. Each run creates a new private agent chat, uses the task creator’s accessible agent configuration, model, knowledge, and authorized actions, then writes the result to task history and the selected delivery channels.
The diagram shows the full scheduled task chain: users create a task, AIvis validates identity, workspace, agent, and delivery configuration in the trusted control plane, the scheduler triggers due work, each run starts a new private agent chat, and retrieval, action calls, model calls, delivery, and audit are handled through controlled services.
Availability
The scheduled tasks entry is typically available from the AIvis app sidebar and can also be started from agent-related surfaces. The page and API are available only when the deployment has enabled this capability; otherwise users cannot enter the creation flow.
Before enabling it, confirm that:
- Background scheduling and task execution services are running.
- At least one agent is accessible to the current user.
- The selected agent’s model, knowledge, connectors, and actions are configured.
- Email delivery is configured by an administrator if email results are required; webhook delivery accepts HTTPS URLs only.
What a Task Contains
Task Lifecycle
Security Boundaries
Scheduled tasks are designed for unattended execution, so their security boundaries should be explicit:
- A task does not grant new access to models, knowledge bases, connectors, or actions.
- Users can only select agents they are allowed to access; inaccessible agents are not selectable.
- If an agent is deleted, disabled, or no longer accessible, the task shows an unavailable reason and cannot continue running.
- Each run inherits only the necessary context and does not automatically read documents, secrets, or external systems outside the authorized scope.
- High-impact actions should still be controlled by action permissions, connector authorization, and approval policies; unmet conditions can make a run fail, skip, or wait for user action.
- Webhook delivery requires HTTPS and cannot include usernames or passwords in the URL.
Delivery and History
Scheduled tasks support multiple delivery channels. A run’s success depends on both agent execution and whether every selected delivery channel accepts the result:
The task detail page shows run history, including trigger source, start/end time, status, summary, error detail, skip reason, delivery result, and linked chat when available. If a run waits for approval, users can open the linked chat to continue.
Operations and Governance
In enterprise environments, include scheduled tasks in governance routines:
- Assign a clear owner, output format, and business purpose to high-frequency tasks.
- Apply spending limits to tasks that use expensive models, long-context retrieval, or external actions.
- Test outbound email, webhook, and business-system actions against low-risk targets first.
- Recurring tasks can run for a long time, so periodically review active tasks, recipients, and webhook URLs.
- Monitor failures, skips, awaiting-approval states, and delivery failures for critical reports, checks, and alerts.
- If task results are used as audit material, retain task history, delivery records, and linked chats.
Verification
Before releasing the capability to a team, verify:
- Create a one-time task, select in-app notification, and run it manually.
- Create a recurring task and confirm the next run time uses the expected timezone.
- Pause and resume the task, confirming it does not trigger while paused and recalculates after resume.
- Test an unavailable or unauthorized agent scenario and confirm the task cannot run with expanded permissions.
- Configure email delivery, confirm the setup prompt appears when email is unavailable, then verify delivery after configuration.
- Configure an HTTPS webhook and confirm both receiver success and receiver failure are recorded.
- Review run history and confirm success, failure, skipped, awaiting approval, and error states are traceable.