Compare commits
3 Commits
feature/ev
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 2024e2850d | |||
| 2504327e35 | |||
| f22b911342 |
@@ -1,9 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Run auto assign review daily at 14:30
|
Description=Run auto assign review every 30 minutes
|
||||||
PartOf=openclaw-secondbrain.target
|
PartOf=openclaw-secondbrain.target
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=*-*-* 14:30:00
|
OnUnitActiveSec=30min
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Run health check at 02:00 and 14:00 daily
|
Description=Run health check every 30 minutes
|
||||||
PartOf=openclaw-secondbrain.target
|
PartOf=openclaw-secondbrain.target
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=*-*-* 02,14:00:00
|
OnUnitActiveSec=30min
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Import Context Buffer every 4 hours
|
Description=Import Context Buffer every 15 minutes
|
||||||
PartOf=openclaw-secondbrain.target
|
PartOf=openclaw-secondbrain.target
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=*-*-* 02,06,10,14,18,22:00:00
|
OnUnitActiveSec=15min
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
10
systemd/openclaw-secondbrain-ingest-memory.path
Normal file
10
systemd/openclaw-secondbrain-ingest-memory.path
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Watch memory/ directory for changes to trigger ingest
|
||||||
|
PartOf=openclaw-secondbrain.target
|
||||||
|
|
||||||
|
[Path]
|
||||||
|
PathModified=/root/.openclaw/workspace/memory
|
||||||
|
DirectoryNotEmpty=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
@@ -6,3 +6,5 @@ OnFailure=openclaw-secondbrain-notify@%n.service
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
WorkingDirectory=/root/.openclaw/workspace
|
WorkingDirectory=/root/.openclaw/workspace
|
||||||
ExecStart=/bin/bash -lc 'flock -n /tmp/%n.lock /usr/bin/python3 /root/.openclaw/workspace/openclaw_cron_wrapper.py ingest_memory'
|
ExecStart=/bin/bash -lc 'flock -n /tmp/%n.lock /usr/bin/python3 /root/.openclaw/workspace/openclaw_cron_wrapper.py ingest_memory'
|
||||||
|
# Trigger auto-review after each ingest
|
||||||
|
ExecStartPost=/bin/systemctl start openclaw-secondbrain-auto-review.service
|
||||||
|
|||||||
Reference in New Issue
Block a user