> ## Documentation Index
> Fetch the complete documentation index at: https://agent.minimaxi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 定时任务

> 让 Agent 按计划自动执行重复任务。

<div className="code-docs">
  定时任务适合日报、周报、定期检查、信息整理和其他重复工作。任务会在设定时间触发，并回到对应会话中展示结果。

  <img src="https://mintcdn.com/agent-cn/BK6oKQ5dsiqXZ-jT/images/code/schedules.png?fit=max&auto=format&n=BK6oKQ5dsiqXZ-jT&q=85&s=c2fe0480d81bef08fb30aa504b8f8f95" alt="定时任务列表" className="code-screenshot" width="2794" height="1696" data-path="images/code/schedules.png" />

  ## 创建定时任务

  <Steps>
    <Step title="打开定时任务">
      从左侧导航进入定时任务页面。
    </Step>

    <Step title="填写任务内容">
      设置名称、指令、执行 Agent、执行时间和会话模式。
    </Step>

    <Step title="保存并启用">
      保存后，任务会按计划执行。你也可以手动立即执行一次。
    </Step>
  </Steps>

  <Warning>
    定时任务依赖桌面端运行环境。电脑休眠或应用未运行时，任务可能无法按时执行。
  </Warning>
</div>
