Skip to main content

Scheduled Tasks

TL;DR
  • Issues caught before users notice — proactive monitoring replaces reactive dashboards
  • Correlated insights instead of raw metrics — your agent reasons across data sources
  • Describe checks in natural language — no scripts to write or maintain
  • Create, edit, and manage tasks from the portal or chat

The problem

Operational tasks repeat. Every morning someone checks resource health. Every Monday someone pulls cost data. Every hour someone scans for anomalies. These repetitive tasks consume your team's time with predictable, automatable work — time better spent investigating real issues.

Traditional monitoring compounds the problem. Alert rules fire after a threshold is breached — by the time you see it, users are already affected. Dashboards show raw data but don't explain what it means. Each alert is isolated: your CPU alert doesn't know about the deployment that happened ten minutes ago. You correlate manually, across tools, every single time.

How scheduled tasks work

Scheduled task execution flowAutomated Health Check Workflow🕒ScheduleDaily at 8 AMEvery hourWeekly on MonAgent RunsAutomaticallyNo manual triggerRuns even if you'reofflineAnalyzesSystemsChecks health metricsReviews error ratesVerifies backupsValidates configsReportsFindingsPosts to TeamsCreates ticketsSends emailUpdates dashboardOptionallyTakes ActionRestarts servicesScales resourcesClears caches(if Autonomous)Repeats on schedule

Your agent runs tasks on a schedule you define. Describe what you want done in natural language, set the frequency, and your agent handles execution automatically. Each execution creates a conversation thread where the agent plans its approach, queries data sources, reasons about findings, and produces an actionable summary.

This isn't a cron job running a script. Your agent uses its connectors, tools, knowledge, and memory to understand context. It notices that error rates are trending up 15% day-over-day even though they haven't hit the alerting threshold. It catches that storage usage will hit quota in three days at the current growth rate. It connects yesterday's deployment to today's exceptions.

Select Scheduled tasks in the left sidebar to manage all your tasks.

What makes this different

Alert rulesDashboardsCron jobsScheduled tasks
WhenAfter threshold breachedWhen you lookOn scheduleOn your schedule, before thresholds
What it showsSingle metricRaw dataScript outputCorrelated findings with explanation
ContextNoneWhatever you configuredWhat the script queriesCross-source, compared to baseline
ActionYou investigateYou investigateWhatever the script doesSummary with recommended next steps
AdaptsStatic rulesStatic viewsStatic scriptsMemory captures patterns over time

Unlike cron jobs, your agent understands natural language. You don't write scripts — you describe what needs to happen. Unlike runbooks, scheduled tasks execute automatically with the autonomy level you choose.

Before and after

BeforeAfter
Check dashboards manually every morningAgent checks proactively and posts summary
Correlate alerts across tools by handAgent correlates across all connected sources
Issues discovered after users report themTrends caught before they become incidents
Write and maintain monitoring scriptsDescribe checks in natural language
Each team member checks differentlyConsistent automated checks every time
Need to change a task? Delete and recreateEdit any task in place — execution history preserved

Task dashboard

Scheduled tasks dashboard showing task list, metrics, and toolbar actions

The dashboard displays three key metrics at the top:

MetricDescription
Active tasksTasks currently enabled and running on schedule
Total tasksAll tasks including paused and completed
Total runsCompleted executions across all tasks

The task list shows each task with sortable columns:

ColumnDescription
NameTask identifier — click to view execution history
Task statusOn, Off, Ended, or Failed
ScheduleHuman-readable format (e.g., "Daily at 8:00 AM")
Created byWho created the task
Last runMost recent execution time
Next runUpcoming scheduled execution
Completed runsTotal successful executions

Editing a task

Modify any scheduled task directly — change the schedule, update instructions, reassign the subagent, or adjust run parameters. Your task's execution history is preserved.

Three ways to edit

MethodSteps
ToolbarSelect a task checkbox → click Edit task in the toolbar
Row menuClick on any task row → select Edit task
Execution viewClick a task name to open execution history → click Edit task
Row context menu showing Edit task, Turn off, Run task now, and Delete options

The edit dialog opens with all current values pre-populated. Change any combination of fields:

  • Task name and instructions — update what the agent does
  • Schedule — change frequency, time, or switch to a custom cron expression
  • Response subagent — reassign to a different subagent
  • Date range — adjust start date or set a new end date
  • Message grouping for updates — switch between same thread or new threads per run
  • Model tier — change the AI model tier based on task complexity
  • Set a run limit — add, change, or remove the maximum execution count
  • Agent autonomy level — switch between Autonomous and Review mode. When you select Autonomous, an info icon (ℹ️) appears — click it to review the Autonomous mode acknowledgement, which explains agent boundaries, AI model limitations, your responsibilities, and liability terms.

Click Save to apply your changes.

note

Save is disabled until you modify at least one field, preventing accidental no-op updates.

Model tiers

Each task can use a different AI model tier, letting you balance quality and cost per task. Select a tier when creating or editing a task.

TierBest forTrade-off
ReasoningComplex, multi-step analysis — deep investigations, root cause analysisHighest quality, higher cost and latency
Fast ReasoningMost tasks — health checks, reports, monitoringGood reasoning with low latency
General Purpose (default)Standard tasks — status checks, data retrievalBalanced accuracy, cost, and speed
FastSimple polling, heartbeat checks, quick lookupsLowest cost, fastest response, reduced accuracy
Cost optimization

Use Fast for simple recurring checks (resource health polling, metric queries) and reserve Reasoning for complex investigations. This can significantly reduce model costs for high-frequency tasks.

The model tier override applies only to the task — it does not change the agent's default model. Existing tasks without a tier set use the default (General Purpose).

Execution artifacts

When a task execution produces file outputs — CSV exports, PDF reports, chart images — those files appear as downloadable chips directly on the automation card. No thread diving required.

Artifacts are extracted from two sources:

  • Markdown file links in the agent's response (preferred)
  • Python execution outputs as a fallback when no links are present

Each chip is color-coded by file type: documents (cranberry), data files (seafoam), images (marigold), code (blue), and archives (neutral). Click any chip to download the file with one click.

LimitValue
Artifacts per execution20
Visible chips (collapsed card)3 (with "+N more")
Visible chips (expanded / run history)5 (with "+N more")

Expand the card or view the run history for per-execution artifact lists.

tip

If your tasks don't produce artifacts, update their instructions to include file generation — for example, add "export results as a CSV file" to the task description.

Example use cases

Use caseWhat the agent does
Daily health checkReviews resource health, checks for degraded services, reports findings
Cost anomaly detectionCompares spend to baselines, flags unexpected increases
Security posture reviewChecks for misconfigurations, expired certificates, open ports
Deployment verificationVerifies recent deployments are healthy after rollout
SLA reportingGenerates weekly availability and performance summaries

Example task prompts

Daily health check:

Review the health of all container apps in resource group prod-apps. Report any with restarts in the last 24 hours, memory usage above 80%, or error rates above 1%. Compare current error rates to last week's average.

Cost anomaly detection:

Analyze Azure cost data for my subscription. Compare today's spending rate to the 7-day average. Flag any resource group where spending increased more than 20%.

Get started

ResourceWhat you'll learn
Create a Scheduled Task →Step-by-step tutorial
CapabilityWhat it adds
Execute Mitigations →Take action when monitoring detects issues
Workflow Automation →Chain tasks with triggers, custom agents, and notifications
Send Notifications →How the agent delivers findings to your team
Run Modes →Control agent autonomy per task
Connectors →Access third-party observability tools
Was this page helpful?