OpenClaw与企业微信的定时任务设定

成功的配置如下:

bash 复制代码
{
  "version": 1,
  "jobs": [
    {
      "id": "115d6651-357e-4baa-84ee-3c1c18dc45c6",
      "agentId": "main",
      "sessionKey": "agent:main:wecom:direct:xxx",
      "name": "晨会提醒",
      "enabled": true,
      "createdAtMs": 1773624591829,
      "updatedAtMs": 1773624776065,
      "schedule": {
        "kind": "cron",
        "expr": "0 10 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "⏰ 晨会时间到了!该开晨会了!"
      },
      "delivery": {
        "mode": "announce",
        "channel": "last"
      },
      "state": {
        "nextRunAtMs": 1773626400000,
        "lastRunAtMs": 1773624722113,
        "lastRunStatus": "error",
        "lastStatus": "error",
        "lastDurationMs": 53952,
        "lastDeliveryStatus": "unknown",
        "consecutiveErrors": 2,
        "lastError": "Delivering to 企业微信 requires target <userId|groupId>"
      }
    }
  ]
}

ControlUI报错,设定如下的内容:

bash 复制代码
    "controlUi": {
      "allowedOrigins": [
        "http://localhost:18789",
        "http://127.0.0.1:18789",
        "http://172.31.65.9:18789"
      ],
      "allowInsecureAuth": true,
      "dangerouslyDisableDeviceAuth": true
    },
相关推荐
fthux7 小时前
装闭 RenoPit 源码解析(07):装修闭坑知识库与AI Prompt构建
人工智能·ai·开源·github·open source·renopit
紫禁玄科10 小时前
Shai-Hulud:npm生态的自我复制蠕虫风暴
前端·npm·node.js
东风破_10 小时前
后端API没写好,前端难道干等着吗?
前端
fthux10 小时前
装闭 RenoPit 源码解析(06):SSE如何实时推送AI装修分析进度
人工智能·ai·开源·github·open source·renopit
用户9385156350710 小时前
从前后端分离到前端接口工程:React + MockJS + Vite 解析
前端·后端·全栈
用户9385156350710 小时前
从零在浏览器里跑 DeepSeek-R1:WebGPU + Transformers.js 全链路实战(三)
前端·react.js·typescript
excel11 小时前
当前端行情变差,我们为什么还要坚持?
前端
鸿是江边鸟,曾是心上人11 小时前
快速搭建HTTPS本地开发环境
前端
To_OC12 小时前
写了 5 个表单 Demo 后,我终于彻底搞懂了 React 受控与非受控组件
前端·react.js·前端框架
Sterting12 小时前
第9课 Vue Router 路由
前端·vue.js