Mappedinfo/dsh-cron-scheduler

Plugin ⭐ 0 MIT automation

DSH 系统级 cron 定时任务插件:规则存为 Cron 表达式,由用户 crontab 在进程外执行 headless 任务,Web 端管理规则与运行结果

Install

系统 crontab(唯一调度器,支持任意 Cron 表达式)
   └─ wrapper 脚本(每规则一个,~/.dsh/cron-scheduler/wrappers/<id>.sh)
        ├─ 设置 DSH_PERMISSION_MODE(read-only / workspace-write 沙箱)
        ├─ 写运行 manifest(queued→running→succeeded/failed/skipped)
        ├─ cd 到规则工作区
        └─ dsh --profile headless "[dsh-cron:task=<id>] <名称>\n\n<prompt>"
              └─ 全新持久会话(cwd=工作区,首条消息带 task 标记)
Web 端(dsh-cron-scheduler host 插件)
   ├─ 规则 CRUD → 同步 crontab marked block + wrapper
   ├─ 会话监听器:扫描新会话 → 匹配 task 标记 → attach 到工作区 + 回填 sessionId/摘要
   └─ RPC + agent 工具(automation_*)

Add Mappedinfo/dsh-cron-scheduler to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.