
# BlackRoad Daily Ecosystem Report
# BlackRoad Git Agent — deploy pipeline daily at 5:55 AM (before KPI collection at 6 AM)
# BlackRoad Git Autonomy Agent — patrol every 2 hours
# BlackRoad Git Sync → Gitea (every 30 min)
# BlackRoad Pi Config Backup & GDrive Sync - daily at 3am
# BlackRoad Pi Fleet Health Monitor - every 5 minutes
# BlackRoad Slack alerts — check fleet health every 30 min
# BlackRoad Slack weekly digest — Sunday 8 PM
# Fleet data collector — pushes live stats to Cloudflare KV
# blackroad-os-kpis: daily collection at 6 AM CST (midnight UTC)
# blackroad-os-kpis: slack notification after collection
*/15 * * * * /Users/alexa/blackroad/scripts/setup-gdrive-auto.sh >> /Users/alexa/.blackroad/logs/gdrive-cron.log 2>&1
*/15 * * * * /Users/alexa/cecilia-claude-sync.sh push >> /Users/alexa/.blackroad/claude-sync.log 2>&1
*/30 * * * * /Users/alexa/blackroad-unified-website-automation.sh >> /Users/alexa/.blackroad-automation-logs/cron.log 2>&1
*/30 * * * * cd /Users/alexa/blackroad-monorepo && ./sync.sh push >> /tmp/monorepo-sync.log 2>&1
*/45 * * * * ~/cf-token-refresh.sh >> /tmp/cf-token-refresh.log 2>&1
*/5 * * * * /Users/alexa/blackroad-health-monitor.sh >> /Users/alexa/.blackroad/logs/health-cron.log 2>&1
*/5 * * * * /Users/alexa/stats-blackroad/collect.sh >> /Users/alexa/.blackroad/logs/fleet-collector.log 2>&1
*/5 * * * * /bin/bash ~/local/scripts/fleet-monitor-push.sh
*/5 * * * * /usr/bin/flock -n /tmp/fleet-coord.lock /Users/alexa/blackroad-fleet-coordinator.sh >> /Users/alexa/.blackroad/logs/coordinator.log 2>&1
0 * * * * /Users/alexa/blackroad-pi-mesh-sync.sh sync >> /Users/alexa/.blackroad/mesh-sync.log 2>&1
0 */12 * * * rsync -az --exclude='.git' --exclude='node_modules' /Users/alexa/blackroad/ blackroad@159.65.43.12:~/blackroad-backup/ >> /tmp/do-backup.log 2>&1
0 */6 * * * /Users/alexa/bin/rclone sync /Users/alexa/blackroad gdrive-blackroad:blackroad --exclude '.git/**' --exclude 'node_modules/**' --exclude '*.pyc' --log-file=/tmp/gdrive-mac-sync.log 2>&1
0 */6 * * * /Users/alexa/blackroad-operator/scripts/collectors/push-ecosystem-stats.sh >> /Users/alexa/.blackroad/logs/ecosystem-stats.log 2>&1
0 */6 * * * python3 /Users/alexa/blackroad-operator/tools/search/index-all.py --rebuild > /dev/null 2>&1
0 3 * * * /Users/alexa/blackroad-backup-sync.sh >> /Users/alexa/.blackroad/logs/backup-cron.log 2>&1
0 3 * * * /Users/alexa/blackroad-sovereign-mesh.sh sync >> /Users/alexa/.blackroad/sovereign-sync.log 2>&1
0 3 * * 0 /Users/alexa/blackroad/scripts/runners/clean-diag-logs.sh >> /tmp/diag-clean.log 2>&1
0 6 * * * /Users/alexa/blackroad/scripts/nightly-memory-sync.sh >> /Users/alexa/blackroad/logs/nightly.log 2>&1
0 6 * * * cd /Users/alexa/blackroad-os-kpis && bash collectors/collect-all.sh >> /Users/alexa/blackroad-os-kpis/data/cron.log 2>&1
0 8 * * * ~/blackroad/scripts/daily-report.sh >> ~/blackroad/logs/daily-report.log 2>&1
0 8 1 * * bash /Users/alexa/blackroad-operator/scripts/corporate-autopilot.sh >> /Users/alexa/blackroad-operator/docs/corporate/autopilot.log 2>&1
5 6 * * * cd /Users/alexa/blackroad-os-kpis && bash reports/slack-notify.sh >> /Users/alexa/blackroad-os-kpis/data/cron.log 2>&1
7,37 * * * * /Users/alexa/blackroad-git-sync.sh >> /Users/alexa/.blackroad/logs/git-sync.log 2>&1
0 8 * * * /Users/alexa/fleet-daily-summary.sh >> /Users/alexa/.blackroad/logs/daily-summary.log 2>&1

# BlackRoad Collaboration Watchdog — sweep stale sessions + heartbeat
*/30 * * * * /Users/alexa/blackroad-operator/scripts/memory/memory-watchdog.sh heartbeat >> /Users/alexa/.blackroad/logs/collab-watchdog.log 2>&1
0 3 * * * /Users/alexa/blackroad-operator/scripts/memory/memory-watchdog.sh sweep >> /Users/alexa/.blackroad/logs/collab-watchdog.log 2>&1
0 9 * * * /Users/alexa/blackroad-operator/scripts/memory/memory-watchdog.sh digest --slack >> /Users/alexa/.blackroad/logs/collab-watchdog.log 2>&1
*/5 * * * * /usr/bin/python3 /Users/alexa/blackroad-operator/scripts/memory/memory-slack-sync.py full >> /tmp/slack-sync.log 2>&1
*/5 * * * * /Users/alexa/network-welcome.sh >> /Users/alexa/.blackroad/network/welcome.log 2>&1
