534119219/chicheng-cron
DSH定时任务插件:侧栏“定时任务”入口,通过cron定时执行shell/python/node脚本、Skill与Agent任务;支持chicheng-push与messaging-core推送通知、会话归档、移动端适配。
Project Overview项目介绍
This is a native timed task plugin built exclusively for the DeepSeek Harness (DSH) web client. To install it, you can run the command dsh plugin --profile web add github:534119219/chicheng-cron in your terminal, then restart the DSH web client after installation completes. If you are developing from source, you can use the included scripts/relink-dev.ps1 script to relink the junction after modifying source code. After restarting DSH, a new "Timed Task" entry will appear under the "New Session" button on the left sidebar, matching the native DSH UI style.
After installation, you can start creating timed tasks right away. Click the "Timed Task" entry on the sidebar, then select the type of task you want to run from available options including Shell, Python, Node.js, Skill, and custom Agent tasks. Fill in required details like task name, cron expression, task content, working directory, and timeout, then configure optional settings like push notifications, session grouping, and auto-archiving. Once saved, the task will run automatically at the scheduled time, and you can also trigger it manually at any time for testing.
This plugin is released under the open source MIT license, with no associated cost for use or modification. All task configurations and execution history are stored locally at $DSH_HOME/cron/store.json, and raw execution output is saved in the $DSH_HOME/cron/runs/ directory. Agent and Skill tasks reuse your existing DSH model configuration and run via the DSH headless profile. If DSH web is not running when a task is scheduled, the missed execution will not be re-run later, and push notifications rely on the companion chicheng-push package.
这是DeepSeek Harness(DSH)网页端的原生定时任务插件,安装后会在左侧栏「新会话」按钮下方添加「定时任务」入口,支持标准5/6字段cron表达式、预定义频率以及自定义间隔调度,可调度Shell脚本、Python脚本、Node.js脚本、已安装Skill和任意DSH Agent自定义任务,同时集成任务结果推送通知、运行会话整理功能,并针对移动端做了界面适配。
安装完成后重启DSH网页端即可使用,典型工作流程为:点击左侧栏「定时任务」入口新建任务,选择任务类型后填写任务名称、cron表达式、任务内容、工作目录和超时时间,还可按需配置通知推送渠道、会话分组规则和成功后自动归档设置,保存后到点会自动执行,也支持手动触发立即执行,适合需要用DSH自动化完成定期任务的开发者。
本插件使用MIT许可证开源,所有任务配置和执行历史存储在$DSH_HOME/cron/store.json,运行输出保存在$DSH_HOME/cron/runs/目录下。Agent和Skill任务会复用DSH现有模型配置,通过无头模式运行。若DSH网页端未运行,错过的执行时间点不会补跑,推送通知功能依赖chicheng-push项目实现多渠道推送。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:chicheng-cron(534119219/chicheng-cron)
仓库:https://github.com/534119219/chicheng-cron
本站详情页:https://www.yhbd.top/plugins/534119219-chicheng-cron/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 7 · 最近提交 2026-08-26 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:534119219/chicheng-cron
把 534119219/chicheng-cron 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
chicheng-cron
DeepSeek Harness(dsh web)的定时任务插件:在左侧栏 「新会话」下方提供 「定时任务」 入口,用 cron 表达式定时执行 Shell / Python / Node 脚本、Skill 或任意 Agent 任务,并支持推送通知、会话整理与移动端适配。
功能
- 侧栏入口:位于「新会话」按钮正下方,展开/收缩态与原生控件一致(rail 18px 图标)
- 任务类型
- Shell 脚本(Windows
cmd.exe/ 其他平台/bin/sh) - Python 脚本(自动探测
python/py/python3) - Node.js 脚本(当前 Node 运行时)
- Skill(自动注入已安装 skill 的完整说明给 Agent 执行)
- 交给 Agent(自由提示词,由 headless dsh Agent 完成任意任务)
- Shell 脚本(Windows
- 调度:标准 5/6 字段 cron(
*/n、a-b、列表、月份/星期缩写)、@hourly–@yearly、@every <n>s|m|h|d;本地时间计算,重启后自动恢复 - 推送通知:对接 chicheng-push(Server酱/PushPlus/Bark/钉钉/企微/Telegram/飞书/Webhook 等渠道)与 messaging-core 消息平台(任意已连接机器人的会话);标题/内容模板支持
{name} {type} {status} {exitCode} {duration} {time} {output}占位符,内容留空自动附带运行输出 - 会话整理:Agent/Skill 运行会话可自动归入侧栏「定时任务」工作区;可开启「成功后自动归档会话」,完成后对话从侧栏隐藏(日志保留)
- 执行历史:状态、退出码、耗时、推送结果、归档标记;输出弹窗查看
- 移动端适配:窄屏单页导航(列表 ↔ 编辑)、执行历史默认收起、16px 输入防 iOS 缩放、安全区适配
截图
![]() 侧栏入口(展开 / 收缩态) |
![]() 任务与推送设置 1 |
![]() 任务与推送设置 2 |
![]() 执行历史与输出弹窗 |
||
安装
dsh plugin --profile web add github:534119219/chicheng-cron
安装后重启 dsh web,左侧栏「新会话」下方出现「定时任务」按钮。
从源码开发时提示:
dsh plugin add会把file:依赖物化成目录快照,改源码后可用仓库内scripts/relink-dev.ps1恢复 junction 指向源码。
使用
- 点击侧栏「定时任务」→ 新建任务
- 选择类型并填写:名称、cron 表达式(实时预览下次执行时间)、脚本/提示词、工作目录、超时
- 可选:
- 完成后推送通知:选择渠道(chicheng-push 或 messaging-core 会话)、推送标题/内容(留空用默认,自动附输出)
- Agent/Skill 会话归入「定时任务」分组
- 成功后自动归档会话(对话从侧栏隐藏,日志保留)
- 保存后到点自动执行;「立即执行」可随时手动触发,执行历史查看结果与输出
推送模板占位符
| 占位符 | 含义 |
|---|---|
{name} |
任务名称 |
{type} |
任务类型 |
{status} |
完成/失败/超时/运行中 |
{exitCode} |
退出码 |
{duration} |
耗时 |
{time} |
完成时间 |
{output} |
运行输出(Agent 任务的最终回答,前 800 字) |
API(同源 fenced)
list save remove toggle runNow preview runs runOutput skills pushChannels status —— 全部 POST /cron/api/<method>。
数据与限制
- 任务与历史:
$DSH_HOME/cron/store.json;运行输出:$DSH_HOME/cron/runs/ - Agent/Skill 任务通过
dsh --profile headless执行,复用$DSH_HOME/settings.yaml的模型配置 - Web 未运行时错过的时间点不补跑
License
MIT




dabaicai001/star-dsh-desktop
hi-wenw/dsh-telegram-channel
demacia1314/dsh-airdrop
springbrand-lab/dsh-skin-universe
AKS1st/dock-git