Add system cron discovery and management; bump to 0.2.0
CI / test (3.11) (pull_request) Successful in 48s
CI / test (3.13) (pull_request) Successful in 54s

This commit is contained in:
mdaleo404 committed 2026-09-26 08:43:00 +01:00
1 parent 62d505a17e
commit 58d8d0f378
19 files changed
+1129 -55

No files matched your search

+7 -4
View File
@@ -82,9 +82,9 @@ Plan
```
The caller previews the plan, obtains confirmation, then calls `apply`. Plans
snapshot existing content so a failed step can be rolled back. Cron plans also
record the previous crontab text and re-check it at apply time to detect
concurrent edits.
snapshot existing content so a failed step can be rolled back. Cron plans
record the previous crontab text or drop-in content and re-check it at apply
time to detect concurrent edits.
## Exit codes
@@ -124,4 +124,7 @@ The schema version is `1`.
```
Rules: no ANSI sequences; ISO 8601 timestamps with explicit offsets; stable
field names; missing data is `null`, never invented.
field names; missing data is `null`, never invented. Jobs whose `backend` is
`cron` additionally carry a `cron` object (`expression`, `shell`, `mailto`,
`line`, `user`, `environment`), where `user` is the run-as account for system
entries and `null` for the current user's crontab.