40 lines
1.4 KiB
Markdown
40 lines
1.4 KiB
Markdown
---
|
|
id: d0313cb7-2f3b-485f-9b56-e8aaf656127a
|
|
type: configuration
|
|
title: "Cognitive Memory automated maintenance with systemd timers"
|
|
tags: [cognitive-memory, systemd, automation, maintenance, configuration]
|
|
importance: 0.8
|
|
confidence: 0.8
|
|
created: "2026-02-13T21:09:52.961436+00:00"
|
|
updated: "2026-02-28T22:11:05.296007+00:00"
|
|
relations:
|
|
- target: dc6b6c6f-1319-47cf-a691-dd40751ff121
|
|
type: RELATED_TO
|
|
direction: incoming
|
|
strength: 0.8
|
|
edge_id: 588c912a-7d2a-4ecf-9bec-0bc3ed575bad
|
|
- target: 7435a3ce-1360-4309-a33b-eb226fe1fb07
|
|
type: FOLLOWS
|
|
direction: incoming
|
|
strength: 0.8
|
|
edge_id: 58786590-8954-44f5-8dad-8434826e0901
|
|
- target: 81e3306f-cbab-4936-b1d2-e0d10bbe79cd
|
|
type: RELATED_TO
|
|
direction: incoming
|
|
strength: 0.8
|
|
edge_id: 1c14e205-8eb1-452e-9103-dc9281b9aa50
|
|
---
|
|
|
|
Set up systemd user timers for automatic cognitive memory maintenance:
|
|
|
|
Daily timer (midnight): decay → core → embed
|
|
Weekly timer (Monday midnight): reflect
|
|
|
|
Service files at ~/.config/systemd/user/cognitive-memory-{daily,weekly}.{service,timer}
|
|
Both have Persistent=true so missed runs execute on next boot.
|
|
|
|
Updated client.py to reflect automation in CORE.md header (changed 'Next refresh: manual' to 'Next refresh: daily (systemd timer)').
|
|
|
|
Check status: systemctl --user list-timers cognitive-memory-*
|
|
View logs: journalctl --user -u cognitive-memory-daily.service
|