uluckystar/dsh-schedule-tasks ↗★ 1
dsh-schedule-tasks
定时任务插件:支持标准5段式cron调度,可触发shell命令或站内通知,提供Web侧边栏面板进行管理与日志查看。
AI 分析
核心用途是为DSH引入定时任务自动化调度。适合需要定期自动执行Shell脚本、发送站内提醒并查看执行日志的系统管理与自动化任务。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:uluckystar/dsh-schedule-tasks說明文件
閱讀完整 README ↗部署配置(cordis.patch.yml → 插件 Config)
| 键 | 默认 | 说明 |
|---|---|---|
maxLogsPerTask | 20 | 每任务保留的最近执行日志条数(环形缓冲) |
shellTimeoutMs | 60000 | shell 命令执行超时(毫秒),超时按失败记录 |
allowShell | true | 是否允许 shell 触发动作;false 时 shell 型任务创建/触发被拒绝(权限护栏) |
tickIntervalMs | 30000 | 调度循环检查间隔(毫秒,最小 1000) |
workDir | '' | shell 命令工作目录;空串继承宿主进程 cwd |