Files
clawstor/deploy/systemd/clawstor-scrub.timer
Omar Sobh 3000021ac3
Build with clawstor cache / Cargo build (clawstor-cached) (pull_request) Successful in 11s
Phase 7g: weekly cluster-scrub systemd timer
Deploy artifact. Sunday 04:00 local, Persistent=true so a
box that missed the wall-clock moment fires on next boot.

Timer + Service pair — both go under
~/.config/systemd/user/. The service is Type=oneshot; timer
drives it. Non-zero exit from cluster-scrub (integrity issue)
surfaces via systemd failed state; journalctl has the details.

README updated with install recipe.
2026-07-14 12:38:59 -07:00

15 lines
403 B
SYSTEMD

[Unit]
Description=Weekly Clawstor blob-store scrub
Documentation=https://git.redclaw.dev/clawverse/clawstor
[Timer]
# Sunday 04:00 local. Off-peak; scrub is IO-bound.
OnCalendar=Sun *-*-* 04:00:00
# Fire even if the box was off at the scheduled moment (laptops,
# nodes that got restarted). Prevents skipped-week silences.
Persistent=true
Unit=clawstor-scrub.service
[Install]
WantedBy=timers.target