Repository navigation
New plugin: cron-driven autonomous task runs (not just live-session reminders) #5641
argszero
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
New plugin: @argszero/cordis-plugin-schedule-cron — cron-driven autonomous task runs
A while back I mapped the
@deepseek-ai/dsh-schedulesurface and found a concrete gap: it delivers reminders into the live session (a follow-up message), and the README is explicit that it has no calendar rules ("当交付必须到达会话之外时请避开它...或者当你需要「每个工作日 9 点」这类日历规则时:重复提醒只按固定间隔运行").dsh-cronfills exactly that gap. On a standard 5-field cron fire it spawns a fresh agent run viactx.agents.create()+agent.followup()— the same primitive the ACP bridge uses for non-interactive sessions. So scheduled work actually happens even with no browser session open, which is the "EMRG-style" autonomous scheduled task model.Install
Then mount it in a
cordis.ymloverlay:Design
croner), so each occurrence fires exactly once and a restart mid-window resumes forward (no re-fire).initialState(lastFiredAtper rule id) lets you restore dedupe baselines across restarts.collectDue(cursors, now)is pure and unit-tested, so it can be driven by any timer.Source + 10 passing logic tests: https://github.com/argszero/cordis-plugin-schedule-cron · npm: https://www.npmjs.com/package/@argszero/cordis-plugin-schedule-cron
Happy to hear feedback — especially if you've wanted "9am on weekdays, spawn an agent" style scheduling that
dsh-scheduledeliberately doesn't cover.All reactions