clawdbot-dingtalk 0.2.18 → 0.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ metadata: {"openclaw": {"always": true}}
|
|
|
6
6
|
|
|
7
7
|
# 钉钉定时提醒
|
|
8
8
|
|
|
9
|
-
当用户提到任何与**时间点提醒**相关的内容时,必须使用 `
|
|
9
|
+
当用户提到任何与**时间点提醒**相关的内容时,必须使用exec直接调用 `openclaw cron add` 创建定时任务。不要用OpenClaw 内置的 cron 工具。
|
|
10
10
|
|
|
11
11
|
## 触发场景
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ metadata: {"openclaw": {"always": true}}
|
|
|
20
20
|
## 命令模板
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
|
|
23
|
+
openclaw cron add \
|
|
24
24
|
--name "<根据对话生成的任务名>" \
|
|
25
25
|
--at "<时间>" \
|
|
26
26
|
--session isolated \
|
|
@@ -53,7 +53,7 @@ clawdbot cron add \
|
|
|
53
53
|
示例:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
|
|
56
|
+
openclaw cron add \
|
|
57
57
|
--name "群打卡提醒" \
|
|
58
58
|
--cron "0 17 * * *" \
|
|
59
59
|
--tz "Asia/Shanghai" \
|
|
@@ -97,7 +97,7 @@ Agent 会误解为让它自己"起来活动"。
|
|
|
97
97
|
用户说:"下午3点提醒我开会"
|
|
98
98
|
|
|
99
99
|
```bash
|
|
100
|
-
|
|
100
|
+
openclaw cron add \
|
|
101
101
|
--name "开会提醒" \
|
|
102
102
|
--at "2026-02-02T15:00:00+08:00" \
|
|
103
103
|
--session isolated \
|
|
@@ -113,7 +113,7 @@ clawdbot cron add \
|
|
|
113
113
|
用户说:"20分钟后提醒我喝水"
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
|
-
|
|
116
|
+
openclaw cron add \
|
|
117
117
|
--name "喝水提醒" \
|
|
118
118
|
--at "20m" \
|
|
119
119
|
--session isolated \
|
|
@@ -129,7 +129,7 @@ clawdbot cron add \
|
|
|
129
129
|
用户说:"每2小时提醒我休息一下"
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
|
-
|
|
132
|
+
openclaw cron add \
|
|
133
133
|
--name "定时休息提醒" \
|
|
134
134
|
--cron "0 */2 * * *" \
|
|
135
135
|
--tz "Asia/Shanghai" \
|
|
@@ -145,7 +145,7 @@ clawdbot cron add \
|
|
|
145
145
|
用户说:"每天早上9点提醒我看日报"
|
|
146
146
|
|
|
147
147
|
```bash
|
|
148
|
-
|
|
148
|
+
openclaw cron add \
|
|
149
149
|
--name "日报提醒" \
|
|
150
150
|
--cron "0 9 * * *" \
|
|
151
151
|
--tz "Asia/Shanghai" \
|
|
@@ -172,11 +172,11 @@ clawdbot cron add \
|
|
|
172
172
|
|
|
173
173
|
```bash
|
|
174
174
|
# 查看所有任务
|
|
175
|
-
|
|
175
|
+
openclaw cron list
|
|
176
176
|
|
|
177
177
|
# 立即测试任务
|
|
178
|
-
|
|
178
|
+
openclaw cron run <job-id>
|
|
179
179
|
|
|
180
180
|
# 删除任务
|
|
181
|
-
|
|
181
|
+
openclaw cron rm <job-id>
|
|
182
182
|
```
|