utils/focus_project/systemd/focus-project-harvest.timer
Krzysztof kuhy Rudnicki 6d80efb50a focus_project: minutes, ledger, harvester
Fail-closed: a failing source logs and adds 0 minutes;
a bad key, ledger or registry exits 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYcmik6APnHfc9gEVy
2026-11-02 08:19:01 +01:00

12 lines
222 B
SYSTEMD

[Unit]
Description=focus_project: harvest every minute (covers sources with no file event)
[Timer]
OnBootSec=1min
OnUnitInactiveSec=1min
AccuracySec=5s
Unit=focus-project-harvest.service
[Install]
WantedBy=timers.target