Files
nexus/wiki/concepts/Scheduled-Task-Flywheel.md

43 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Scheduled Task Flywheel"
type: concept
tags: [openclaw, automation, productivity]
sources: [multi-agent-team, custom-morning-brief, earnings-tracker, self-healing-home-server]
last_updated: 2026-04-22
---
## Definition
定时任务飞轮Scheduled Task Flywheel是 OpenClaw 的核心自动化范式——通过定时 Cron Job 触发 AI Agent 自主工作用户无需主动发起指令AI 在后台完成情报收集、内容生成、数据处理等任务,结果在用户需要时已就位。
## Core Mechanism
1. **调度层**:通过 Cron Job 设置定时触发规则(每日 8AM、每周日 6PM 等)
2. **执行层**AI Agent 在触发时间自动执行任务(网络搜索、内容生成、数据处理)
3. **交付层**:结果通过 Telegram/Discord/iMessage 推送给用户
4. **飞轮效应**:每次执行都为下次提供更好的上下文积累,形成自动化正向循环
## Key Applications
- **[[custom-morning-brief]]**:利用夜间空闲时间让 AI 完成新闻研究和草稿生成,晨起直接收到完整简报
- **[[earnings-tracker]]**:每周日自动扫描财报日历,用户选择后为每家公司创建一次性 Job
- **[[self-healing-home-server]]**Reef Agent 的 24/7 全天候自动化每15分钟健康检查、每小时监控
- **[[multi-agent-team]]**:多个 Agent 定时轮转,主动向用户推送成果
## Key Insight
> "The AI-recommended tasks section is the most powerful part — it has the agent proactively think of ways to help you, rather than waiting for instructions." — 自定义晨间简报的核心洞察
## Why "Flywheel"
与被动等待指令的传统助手不同,飞轮模式下 AI **主动**创造价值。每次定时触发后:
- 上下文积累 → 下次执行更精准
- 模板成熟 → 输出质量持续提升
- 用户习惯养成 → 简报成为每日必需
## Related Concepts
- [[Morning Briefing]] — 定时飞轮的具体应用场景
- [[Proactive Agent Recommendation]] — 飞轮中"主动思考如何帮助用户"的关键能力
- [[Single Control Plane]] — 飞轮与用户之间的统一交互界面