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
    },
相关推荐
静水leo5 小时前
使用 Whistle 拦截接口并模拟后端响应
前端
掘金者阿豪5 小时前
SQL Server数据迁移完成后,凌晨的数据库告警该怎么查?
前端·后端
JudithHuang5 小时前
React 嵌套路由与布局
前端·react.js·arcgis·react·react router
htzyl2066 小时前
前端阶梯——第四十三章、实战二:待办清单To-Do
前端·javascript·html
摹客6 小时前
【3D设计】界面设计中的3D元素:应用场景+5款工具横评(含Three.js)
前端
Hilaku7 小时前
CORS 到底在保护谁?90% 的前端理解错了跨域的本质
前端·javascript·程序员
后台模板学习7 小时前
GitHub Actions 与 Jenkins 在日志监
运维·github·jenkins
miofly7 小时前
GitHub 今日推荐|auto-ontology:给 Agent 装上企业数据的语义索引
python·开源·github
wno7047 小时前
node.js中使用jquery
前端·node.js·jquery