#!/bin/bash
# Install all OpenClaw cron jobs
# Run: bash ~/.openclaw/workspace/agents/install-all-crons.sh

cat > /tmp/openclaw-cron << 'CRON'
# OpenClaw Automated Jobs

# Morning Business Brief - 9 AM daily
0 9 * * * /Users/claw/.openclaw/workspace/agents/morning-report/generate-report-fixed.sh

# Fitness Coach Workout - 8 AM daily
0 8 * * * /Users/claw/.openclaw/workspace/agents/fitness-coach/scripts/send-workout.sh

# SEO Daily Report - 8 AM daily
0 8 * * * /Users/claw/.openclaw/workspace/agents/marketing-seo/scripts/daily-report.sh

# Sales Lead Monitor - Hourly during business hours (8 AM - 8 PM)
0 8-20 * * * /Users/claw/.openclaw/workspace/agents/sales-lead/monitor.sh

# Reddit Scout - 8am and 3pm daily
0 8,15 * * * /Users/claw/.openclaw/workspace/agents/reddit-scout/cron.sh
CRON

crontab /tmp/openclaw-cron
echo "✅ All cron jobs installed!"
crontab -l
