docs: add local scheduled maintenance runner (no auto-push)

This commit is contained in:
Apple
2026-02-16 02:37:29 -08:00
parent 5f2fd7905f
commit b722e28338
5 changed files with 183 additions and 0 deletions

View File

@@ -60,6 +60,34 @@ cd /Users/apple/github-projects/microdao-daarion
bash scripts/docs/docs_sync.sh --apply --targets github,gitea
```
## 5) Local scheduled run (no auto-push)
Install/update daily cron job (local timezone):
```bash
cd /Users/apple/github-projects/microdao-daarion
bash scripts/docs/install_local_cron.sh --schedule "17 9 * * *"
```
Dry-run preview:
```bash
cd /Users/apple/github-projects/microdao-daarion
bash scripts/docs/install_local_cron.sh --dry-run
```
Uninstall:
```bash
cd /Users/apple/github-projects/microdao-daarion
bash scripts/docs/install_local_cron.sh --uninstall
```
Runner command:
- `scripts/docs/run_docs_maintenance.sh`
- executes `services_sync --apply` and `docs_lint`
- does not perform any `git push`
## Safety gates
- `docs_sync.sh` is dry-run by default.