DeepSeek Harness Hub
← 返回列表

Whale-Zhang/dsh-cron-tasks

DeepSeek Harnessspec-screened在 GitHub 查看 ↗
未验证

一个 DeepSeek Harnessdsh插件,用于定时任务。侧栏入口位于 New Session…

尚未跑自动兼容性验证,可查看页面内的依赖与入口分析。 · 最近上游提交 2026/8/24 · 已提供中文文档

DeepSeek Harness 的定时任务:侧边栏作业、隔离的运行历史、cron/at 调度。

综合分
28.2
GitHub 分
28.2
用户评分
★ Stars
1
周下载量
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add Whale-Zhang/dsh-cron-tasks
该插件未发布到 npm,走 GitHub 源安装(pnpm 若拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑)
数据截至 2026/9/19(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动

README

dsh-cron-tasks

English · 中文

一个 DeepSeek Harness(dsh)插件,用于定时任务。侧栏入口位于 New Session 下方,包含插件设置、隔离的运行历史,以及面向模型的 cron_ 工具。

dsh-plugin
license

中文

到点后 新开一条会话 跑事先写好的提示词,记进侧栏「定时任务」历史。这类会话不会淹没日常工作区列表。

这不是官方同会话 reminder(@deepseek-ai/dsh-schedule),也不是系统 crontab。调度器住在 DSH Host 里:Host 没在跑就不会触发。

安装

需要已安装 DeepSeek Harness。一条命令装进网页端和桌面端:

dsh plugin --profile web add github:Whale-Zhang/dsh-cron-tasks
dsh plugin --profile desktop add github:Whale-Zhang/dsh-cron-tasks

装完后重启对应 profile(dsh web 或 Desktop)。用下面命令应能看到 dsh-cron-tasks:

dsh --profile web --dump-config

卸载

dsh plugin --profile web remove @dsh-external/dsh-cron-tasks
dsh plugin --profile desktop remove @dsh-external/dsh-cron-tasks

做什么

- 左侧 「新会话」正下方 的 「定时任务」 入口:创建、暂停/恢复、删除、立即运行、搜索
- 设置 → 插件 → 插件配置 里的调度策略(启用、默认时区、历史保留、重叠/漏跑)
- 每次触发新开 root Session;点历史记录打开原生对话,可以继续聊
- 每个任务可指定 模型(钉死后不跟着聊天模型变,额度可预期)
- 工作目录可下拉已有工作区,或自定义路径
- 也可在对话里对 AI 说「帮我建一个定时任务」(skill scheduled-tasks + cron_create)

日程

- 一次性 at,或循环 5 字段 cron,IANA 时区(默认 Asia/Shanghai)
- 「一分钟后」用 after_minutes,不要叠 at / hour / expr
- 重叠:同一任务已有进行中的运行则跳过
- 漏跑:Host 宕机期间错过的节拍 不补跑

开发

node --test test/.test.js

本地 file: 安装(开发用,不要用 link:):

dsh plugin --profile web add file:$HOME/.dsh/plugins/dsh-cron-tasks

产品契约见 docs/PRD.md。实现经验见 docs/NOTES.md。

English

At the scheduled time, Harness opens a fresh root session, runs a self-contained prompt, and records the run in the Scheduled tasks sidebar. Those sessions stay out of the ordinary workspace list.

This is not the official same-chat reminder (@deepseek-ai/dsh-schedule) and not OS crontab. The scheduler lives in the DSH Host process; nothing fires while Host is down.

Install

Requires DeepSeek Harness.

dsh plugin --profile web add github:Whale-Zhang/dsh-cron-tasks
dsh plugin --profile desktop add github:Whale-Zhang/dsh-cron-tasks

Restart the profile after installing. dsh --profile web --dump-config should list dsh-cron-tasks.

Uninstall

dsh plugin --profile web remove @dsh-external/dsh-cron-tasks
dsh plugin --profile desktop remove @dsh-external/dsh-cron-tasks

What it does

- Sidebar entry under New Session: create, pause/resume, delete, run now, search
- Scheduler policy in Settings → Plugins → Plugin configuration
- Each fire is a new root session; open a history row to continue in the native chat
- Each job can pin a model so quota does not follow the chat selector
- Working directory: existing workspace or a custom path
- 让 agent 创建一个任务(scheduled-tasks 技能 + cron_create)

调度

- 一次性 at 或 5 字段 cron,IANA 时区(默认 Asia/Shanghai)
- “N 分钟后” → after_minutes
- 重叠:如果同一任务已在运行,则跳过
- 错过触发:Host 停机期间错过的触发不会重放

许可证

MIT

上游仓库有新提交时邮件通知你(每天最多一封,无更新不打扰),随时一键退订。

同作者(Whale-Zhang)的其他插件

💬 加入 DPharness 群聊

插件用法、部署报错、新插件第一时间同步——群里问,比一个人翻文档快。

点击加入 QQ 群
DPharness 群聊二维码,手机 QQ 扫码进群
扫码进群