archive-inactive-sessions

Goal

Run the session archiver script to archive and clean up conversations inactive for more than 48 hours:

  1. Execute /opt/data/home/scripts/archive-inactive-sessions.sh
  2. Report back how many sessions were archived, where they were saved, and any errors that occurred
  3. Include the current session st

Budget

  • Schedule: Daily
  • Time per session: 120 minutes

Status

Completed first run 2026-06-23: archived/deleted 179 inactive sessions. DB reduced to 800.6 MB (1758 sessions remain).

Next: set up cron schedule for daily runs.

Sessions

2026-06-28 — Daily run + cron verification

Archived 2,096 inactive sessions. DB: 4,173 sessions (1.7 GB). Archive file at /opt/data/archives/sessions/inactive_sessions_20260628.jsonl (55.5 MB). No errors.

Verified CronJob archive-inactive-sessions exists in hermes namespace, runs daily at 06:00 UTC (schedule: "0 6 * * *"), image ghcr.io/nousresearch/hermes-agent:latest. Concurrency policy: Forbid. Cron is already configured — no further setup needed.

1 item under this folder.