mirror of
https://github.com/kuaifan/dootask.git
synced 2026-07-31 18:35:56 +00:00
2.1 KiB
2.1 KiB
id, title, type, feature, scope, locale, aliases, related_tools, related_pages, prerequisites, negative, last_verified
| id | title | type | feature | scope | locale | aliases | related_tools | related_pages | prerequisites | negative | last_verified | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| task.notify.concept | 任务提醒推送(即将超时 / 已超时) | concept | task | end-user | zh |
|
|
|
|
|
v1.7.90 |
任务提醒推送(即将超时 / 已超时)
定义
任务到期提醒由「任务提醒」机器人(task-alert)通过私聊发送模板消息。推送记录在 ProjectTaskPushLog 表,按 type 区分:
0— 新任务(被分配时)1— 任务即将超时(截止时间 end_at 前约 1 小时)2— 任务已超时(end_at 过后约 1 小时,且任务未完成)3— 任务时间被修改
即将超时 / 已超时两类按用户 + 任务去重,避免重复推送。
触发条件
- 任务必须设置截止时间
end_at - 管理员需在管理员应用「APP 推送」中开启推送(未开启则定时提醒不运行)
- 后端定时任务扫描命中后,向任务负责人 + 协助人发送,文案如「您负责的任务即将超时」「您协助的任务已经超时」
推送渠道
- 站内消息:「消息」列表中 task-alert「任务提醒」机器人的私聊会话
- 桌面端:经 Electron 系统通知弹出
- 移动端:离线 / 后台用户经 UMENG(友盟)推送触达,见 mobile-client.notify.concept
不支持
- 不能为单条任务自定义提醒时间偏移(如「提前 2 小时」),固定为到期前约 1 小时、超期后约 1 小时各提醒一次
- 不能给非负责人 / 非协助人推送
- 已完成或已归档的任务不再推送