🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI

定时任务 Whale-Zhang/dsh-cron-tasks

DeepSeek Harness
Whale-Zhang71 天前有提交已提供中文文档扫描:含敏感能力

按 cron 或指定时间自动新开会话执行预设提示词

28.2/100
综合分
1
GitHub 星标
—
npm 周下载
—/5
用户评分

数据截至 2026/9/19 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。

安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add Whale-Zhang/dsh-cron-tasks
该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)

状态速览

判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态
信任档位:已验证
是什么
dsh 原生插件 · browser
装得上吗
本站已真实安装成功
非静态推断
L4 · 真实安装等级说明 →
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
更新放缓:最近一次提交在 71 天前
档位由哪些信号合成

本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。

验证判据与等级说明 →
社区实装还没有人打卡 · 装过的第一个就是你
安全扫描自动 · 静态分析源码
v2.7.0
🔵 扫描:含敏感能力尚无人工评估
展开查看扫描说明与证据 ↓

静态扫描发现插件具备触达本地系统的能力:执行外部命令、读写/删除本地文件、读取剪贴板或密钥类环境变量(至少其一)。这是能力清单,不是危险判定——具体能力项与证据见下方,安装前请自行判断是否需要。

读写/删除本地文件
查看扫描证据(共 7 处,展示前 7 条)
  • 写入本地文件
    lib/index.js:175
    mkdir(defaultCwd(), { recursive: true }).catch(() => {})
  • 写入本地文件
    lib/host.js:298
    await mkdir(join(dshHome(), 'cron-tasks'), { recursive: true })
  • 写入本地文件
    lib/host.js:854
    await mkdir(cwd, { recursive: true })
  • 读取本地文件
    lib/store.js:192
    const raw = await readFile(filePath, 'utf8')
  • 写入本地文件
    lib/store.js:204
    await mkdir(dirname(filePath), { recursive: true })
  • 写入本地文件
    lib/store.js:207
    await writeFile(tmp, body, 'utf8')
  • 写入本地文件
    lib/store.js:208
    await rename(tmp, filePath)
扫描于 2026/11/3(1 天前) · 范围 入口闭包 + 发布文件清单 · 来源 GitHub 仓库

静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。

给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个

功能亮点

  • cron与指定时间调度
  • 自动新开会话
  • 执行预设提示词

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

README

由 DeepSeek 最新模型翻译生成
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)。
展开完整文档(README 剩余 1 节)
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。

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/dsh-cron-tasks
分享 · DeepSeek Harness Hub
Whale-Zhang/dsh-cron-tasks

按 cron 或指定时间自动新开会话执行预设提示词

这是你的仓库?认领条目

回到顶部