Commit Graph
2 Commits
Author SHA1 Message Date
MiguelPFandClaude Opus 4.6 4e56481f0b add one-time migration for legacy global cron store
When upgrading, if jobs.json exists at the old global path and not yet
at the workspace path, move it automatically.  Prevents silent loss of
existing cron jobs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 10:16:06 +01:00
MiguelPFandClaude Opus 4.6 c33e01ee62 fix(cron): scope cron job store to workspace instead of global directory
Replace `get_cron_dir()` with `config.workspace_path / "cron"` so each
workspace keeps its own `jobs.json`.  This lets users run multiple
nanobot instances with independent cron schedules without cross-talk.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 10:11:01 +01:00