GooDAnDReaDY/dsh-cron0

@goodandready/dsh-cron

定时任务与后台自动化执行插件,支持在 DSH 中配置 Cron 任务、管理运行历史并调度 Agent 自动执行。

AI 分析

核心用途是实现 DSH 的无人值守自动化。适合需要定期让 Agent 执行代码检查、数据抓取、自动报表生成等例行任务的系统管理员或开发者。

包名
@goodandready/dsh-cron
版本
0.1.18
许可证
MIT
最近更新
2026年9月4日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GooDAnDReaDY/dsh-cron

⚙️ Configuration (settings.yaml)

Configuration can be applied in settings.yaml or managed interactively via the DSH Settings UI:


### Configuration Parameters

| Parameter | Type | Default | Description |
|:---|:---|:---|:---|
| `storagePath` | `string` | `"data/cron-tasks.json"` | Relative or absolute path where scheduled tasks and run histories are persisted atomically |
| `maxHistoryEntries` | `number` | `50` | Maximum number of run history records preserved per task card |
| `defaultTimezone` | `string` | `"UTC"` | Default IANA timezone used for cron calculations (e.g., `"Europe/Berlin"`, `"America/New_York"`) |
| `defaultModel` | `string` | `""` | Fallback model identifier for tasks created without an explicit model selection |
| `notifyOnFailure` | `boolean` | `true` | Emits a notification badge in the UI if a scheduled background task encounters a failure |

---