zeroclaw/src/cron
Argenis aa455ae89b
feat: declarative cron job configuration (#4045)
Add support for defining cron jobs directly in the TOML config file via
`[[cron.jobs]]` array entries. Declarative jobs are synced to the SQLite
database at scheduler startup with upsert semantics:

- New declarative jobs are inserted
- Existing declarative jobs are updated to match config
- Stale declarative jobs (removed from config) are deleted
- Imperative jobs (created via CLI/API) are never modified

Each declarative job requires a stable `id` for merge tracking. A new
`source` column (`"imperative"` or `"declarative"`) distinguishes the
two creation paths. Shell jobs require `command`, agent jobs require
`prompt`, validated before any DB writes.
2026-03-22 19:03:00 -04:00
..
mod.rs feat: declarative cron job configuration (#4045) 2026-03-22 19:03:00 -04:00
schedule.rs fix: normalize 5-field cron weekday numbers to standard crontab semantics (#4082) 2026-03-20 15:00:28 -04:00
scheduler.rs feat: declarative cron job configuration (#4045) 2026-03-22 19:03:00 -04:00
store.rs feat: declarative cron job configuration (#4045) 2026-03-22 19:03:00 -04:00
types.rs feat: declarative cron job configuration (#4045) 2026-03-22 19:03:00 -04:00