openclaw-home-pc/openclaw/cron/jobs.json
2026-03-24 04:00:48 +08:00

211 lines
7.9 KiB
JSON
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.

{
"version": 1,
"jobs": [
{
"id": "2073cd46-e64a-4304-a99e-a8b8a703fa54",
"agentId": "main",
"sessionKey": "agent:main:feishu:group:oc_d5ef8b1abf66842c28ef57e1658dc096",
"name": "每日收款失败统计",
"enabled": true,
"createdAtMs": 1774023841911,
"updatedAtMs": 1774251937304,
"schedule": {
"kind": "cron",
"expr": "0 8 * * *",
"tz": "Asia/Shanghai"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "执行以下任务:\n\n1. 搜索飞书群聊「益选通知群」(chat_id: oc_d5ef8b1abf66842c28ef57e1658dc096) 中关于「收款失败」的消息\n2. 时间范围昨天夜里23:00到今天早上8:00注意当前时间是早上8点所以查询范围是「昨天23:00到今天08:00」\n3. 读取现有Excel文件https://my.feishu.cn/sheets/MCn9szPGmh1N2it2W0pc6vsSnSb\n4. 判断逻辑:\n - 如果没有收款失败数据 → 在群里只发一条消息:「收款失败统计 (昨天~今天):无失败记录 ✅」\n - 如果有失败数据 → 追加到Excel表Sheet1从第8行开始追加然后在群里发消息「收款失败统计 (昨天~今天)共X条失败记录已更新X条到Excel」\n5. Excel追加格式序号自动生成现有最大序号+1、时间、支付方式、金额、备注留空或填入备注\n6. 注意:不需要统计成功的数据,只处理失败记录",
"model": "minimax-portal/MiniMax-M2.5",
"timeoutSeconds": 300
},
"delivery": {
"mode": "announce",
"channel": "feishu"
},
"state": {
"nextRunAtMs": 1774310400000,
"lastRunAtMs": 1774251909853,
"lastRunStatus": "ok",
"lastStatus": "ok",
"lastDurationMs": 27451,
"lastDelivered": true,
"lastDeliveryStatus": "delivered",
"consecutiveErrors": 0
}
},
{
"id": "07c52b1a-df78-4f06-a15f-45d22cab8402",
"agentId": "main",
"sessionKey": "agent:main:wecom:direct:houhuan",
"name": "向量记忆每日备份",
"enabled": true,
"createdAtMs": 1774076047011,
"updatedAtMs": 1774292427291,
"schedule": {
"kind": "cron",
"expr": "0 3 * * *",
"tz": "Asia/Shanghai"
},
"sessionTarget": "main",
"wakeMode": "now",
"payload": {
"kind": "systemEvent",
"text": "向量记忆系统自动备份"
},
"delivery": {
"mode": "none"
},
"state": {
"nextRunAtMs": 1774378800000,
"lastRunAtMs": 1774292400005,
"lastRunStatus": "ok",
"lastStatus": "ok",
"lastDurationMs": 27286,
"lastDeliveryStatus": "not-requested",
"consecutiveErrors": 0
}
},
{
"id": "d9227c97-bb1f-4e75-99ef-33295da968fd",
"agentId": "main",
"sessionKey": "agent:main:wecom:direct:houhuan",
"name": "OpenClaw每日备份到Gitea",
"enabled": true,
"createdAtMs": 1774078576117,
"updatedAtMs": 1774251904812,
"schedule": {
"kind": "cron",
"expr": "0 4 * * *",
"tz": "Asia/Shanghai"
},
"sessionTarget": "main",
"wakeMode": "now",
"payload": {
"kind": "systemEvent",
"text": "执行 OpenClaw 备份到 Gitea"
},
"delivery": {
"mode": "none"
},
"state": {
"nextRunAtMs": 1774296000000,
"lastRunAtMs": 1774251304805,
"lastRunStatus": "error",
"lastStatus": "error",
"lastDurationMs": 600007,
"lastDeliveryStatus": "not-requested",
"consecutiveErrors": 1,
"lastErrorReason": "timeout",
"runningAtMs": 1774296000004
}
},
{
"id": "64988c1b-b84f-455b-9d33-bf64fbdad911",
"agentId": "main",
"sessionKey": "agent:main:wecom:direct:houhuan",
"name": "每日对话记忆保存",
"enabled": true,
"createdAtMs": 1774082768253,
"updatedAtMs": 1774280457943,
"schedule": {
"kind": "cron",
"expr": "40 23 * * *",
"tz": "Asia/Shanghai"
},
"sessionTarget": "main",
"wakeMode": "now",
"payload": {
"kind": "systemEvent",
"text": "执行对话记忆保存任务"
},
"delivery": {
"mode": "none"
},
"state": {
"nextRunAtMs": 1774366800000,
"lastRunAtMs": 1774280400005,
"lastRunStatus": "ok",
"lastStatus": "ok",
"lastDurationMs": 57938,
"lastDeliveryStatus": "not-requested",
"consecutiveErrors": 0
}
},
{
"id": "00d74907-d2d5-4dcf-bb1a-b0a1f1bd0fa8",
"agentId": "main",
"sessionKey": "agent:main:feishu:direct:ou_86def554b50f91972e2924a605ccf634",
"name": "每日热点新闻股市分析报告",
"enabled": true,
"createdAtMs": 1774172078716,
"updatedAtMs": 1774274502419,
"schedule": {
"kind": "cron",
"expr": "0 22 * * *",
"tz": "Asia/Shanghai"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "任务:生成每日热点新闻股市分析报告\n\n1. 从飞书群「热点新闻推送」(chat_id: oc_c614d6c696e6a24b105ecc7343ea33d1) 拉取今天和昨天的所有消息\n2. 从消息中提取热点新闻关键词、新闻标题和内容\n3. 代入资深股票交易员身份分析这些新闻对A股市场的影响\n - 地缘政治新闻(美国、伊朗、日本、韩国等)对资源股/能源股的影响\n - 中国国内政策和经济新闻对大盘的影响\n - 科技行业新闻AI、机器人、华为等对相关板块的影响\n - 重点关注:铜陵有色(000630)、岩山科技(002195) 相关新闻\n4. 给出第二天的操作建议(仅供参考,不构成投资建议)\n5. 将报告以清晰的结构化格式发送给用户\n\n报告格式\n【每日股市分析报告】日期\n\n一、宏观环境\n- 地缘政治\n- 国际市场\n\n二、市场热点\n- 热门板块\n- 重点新闻\n\n三、个股分析\n- 铜陵有色\n- 岩山科技\n\n四、操作建议仅供参考\n\n---\n请注意投资有风险决策需谨慎",
"model": "minimax-portal/MiniMax-M2.7",
"timeoutSeconds": 300
},
"delivery": {
"mode": "announce",
"channel": "feishu"
},
"state": {
"nextRunAtMs": 1774360800000,
"lastRunAtMs": 1774274400006,
"lastRunStatus": "ok",
"lastStatus": "ok",
"lastDurationMs": 102413,
"lastDelivered": true,
"lastDeliveryStatus": "delivered",
"consecutiveErrors": 0
}
},
{
"id": "5273524a-fe06-486c-9706-005f80b061e5",
"agentId": "main",
"sessionKey": "agent:main:wecom:direct:houhuan",
"name": "上下文使用量检测-自动保存记忆",
"enabled": true,
"createdAtMs": 1774182145274,
"updatedAtMs": 1774295945977,
"schedule": {
"kind": "every",
"everyMs": 1800000,
"anchorMs": 1774182145274
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "请执行上下文使用量检测脚本:\n\n```bash\npython3 ~/.openclaw/workspace/scripts/context_memory_guard.py\n```\n\n只需要运行这个命令并报告结果即可。如果检测到上下文使用量 >= 90%,脚本会自动保存记忆。",
"model": "minimax-portal/MiniMax-M2.7",
"timeoutSeconds": 60
},
"delivery": {
"mode": "announce",
"channel": "wecom"
},
"state": {
"nextRunAtMs": 1774297729670,
"lastRunAtMs": 1774295929670,
"lastRunStatus": "ok",
"lastStatus": "ok",
"lastDurationMs": 16307,
"lastDelivered": true,
"lastDeliveryStatus": "delivered",
"consecutiveErrors": 0
}
}
]
}