calendar: add --alarm flag to send command for custom reminder triggers
Previously the send command hardcoded a 1-day VALARM. Now accepts --alarm with duration format (e.g. 1h, 30m, 2d), defaulting to 1d.
This commit is contained in:
3
TOOLS.md
3
TOOLS.md
@@ -116,7 +116,8 @@ SKILL_DIR=~/.openclaw/workspace/skills/calendar
|
||||
$SKILL_DIR/scripts/calendar.sh send \
|
||||
--to "friend@example.com" \
|
||||
--subject "Lunch" --summary "Lunch at Tartine" \
|
||||
--start "2026-03-20T12:00:00" --end "2026-03-20T13:00:00"
|
||||
--start "2026-03-20T12:00:00" --end "2026-03-20T13:00:00" \
|
||||
--alarm 1h # 提前1小时提醒(默认1d,支持 1d/2h/30m)
|
||||
|
||||
# 发送周期性邀请(--start 必须落在 BYDAY 指定的那天!)
|
||||
$SKILL_DIR/scripts/calendar.sh send \
|
||||
|
||||
Reference in New Issue
Block a user