22 lines
454 B
Markdown
22 lines
454 B
Markdown
# CRON.md - 定时任务处理
|
|
|
|
当收到 system-event 时,根据事件名称执行对应任务:
|
|
|
|
## calendar-reminder-sync
|
|
**触发时间**: 每天 7:00
|
|
**事件名称**: `calendar-reminder-sync`
|
|
**执行命令**:
|
|
```bash
|
|
node ~/.openclaw/cron/scripts/calendar-reminder.mjs
|
|
```
|
|
**说明**: 同步提醒到 CalDAV 日历 (Node.js)
|
|
|
|
---
|
|
|
|
## 处理方式
|
|
|
|
收到 system-event 后:
|
|
1. 识别事件名称
|
|
2. 执行对应的命令
|
|
3. 汇报执行结果
|