# CoM Enterprise — Cron Job Templates Reference document for scheduled automation. Install manually via `crontab -e`. These reference the Gemini Archivist schedules from `.claude/agents/gemini-archivist.md`. --- ## Morning Intelligence Report (9:00 AM daily) ```cron 0 9 * * * /home/diablo/Documents/Projects/Syn_OS\ \{DevRepo\}/.claude/scripts/morning-report.sh >> ~/.synos/vault/reports/morning.log 2>&1 ``` **What it does:** Gemini Archivist generates a daily brief: - GitHub activity since yesterday - Data Lake changes - P0 status from TODO.md - Sprint progress update --- ## Evening Archive Polish (6:00 PM daily) ```cron 0 18 * * * /home/diablo/Documents/Projects/Syn_OS\ \{DevRepo\}/.claude/scripts/evening-polish.sh >> ~/.synos/vault/reports/evening.log 2>&1 ``` **What it does:** Gemini Archivist organizes: - Vault inbox → route to context/research/projects - Tag and categorize new notes - Update Notion workspace --- ## Deep Sync (3:00 AM daily) ```cron 0 3 * * * /home/diablo/Documents/Projects/Syn_OS\ \{DevRepo\}/.claude/scripts/deep-sync.sh >> ~/.synos/vault/reports/sync.log 2>&1 ``` **What it does:** - Google Drive rclone sync - Weekly digest generation (Sundays) - Notion consistency check - Stale note cleanup --- ## Session Cleanup (11:00 PM daily) ```cron 0 23 * * * /home/diablo/Documents/Projects/Syn_OS\ \{DevRepo\}/.claude/hooks/session-cleanup.sh >> ~/.synos/vault/reports/cleanup.log 2>&1 ``` **What it does:** - Scan shell history for credential patterns - Prune old shell snapshots (>7 days) - Report audit log status --- ## Weekly Security Audit (Sunday 2:00 AM) ```cron 0 2 * * 0 cd /home/diablo/Documents/Projects/Syn_OS\ \{DevRepo\} && cargo deny check >> ~/.synos/vault/reports/weekly-audit.log 2>&1 ``` **What it does:** Aegis-lite: automated dependency policy check. --- *Note: The morning/evening/sync scripts referenced above need to be created separately.* *They would invoke the Gemini Archivist via the `gemini` command or a custom wrapper.* *This document templates the cron schedule; actual script implementation is a separate task.*