feat(ingest): tail session transcript into memory
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=OpenClaw Second-Brain ingest transcript -> memory/*.md
|
||||
OnFailure=openclaw-secondbrain-notify@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/root/.openclaw/workspace
|
||||
ExecStart=/bin/bash -lc 'flock -n /tmp/%n.lock /usr/bin/python3 /root/.openclaw/workspace/second-brain/cron_tasks/ingest_transcript_to_memory.py'
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=OpenClaw Second-Brain ingest transcript -> memory (every 1 min)
|
||||
|
||||
[Timer]
|
||||
OnBootSec=30s
|
||||
OnUnitActiveSec=60s
|
||||
Unit=openclaw-secondbrain-ingest-transcript-to-memory.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
Reference in New Issue
Block a user