# Email Processing Pipeline Health Monitoring Cron Jobs # Add these entries to your crontab using: crontab -e # Run health checks every 5 minutes */5 * * * * /Volumes/Mojave/Project\ 2025/emailpipe/oldpipe/health_monitor.sh # Run comprehensive health check every hour 0 * * * * /Volumes/Mojave/Project\ 2025/emailpipe/oldpipe/health_monitor.sh health # Check database connectivity every 10 minutes */10 * * * * /Volumes/Mojave/Project\ 2025/emailpipe/oldpipe/health_monitor.sh database # Check pipeline activity every 15 minutes */15 * * * * /Volumes/Mojave/Project\ 2025/emailpipe/oldpipe/health_monitor.sh activity # Run cleanup and log rotation daily at 2 AM 0 2 * * * /Volumes/Mojave/Project\ 2025/emailpipe/oldpipe/health_monitor.sh cleanup # Alternative: Run all checks every 5 minutes (simpler setup) # */5 * * * * /Volumes/Mojave/Project\ 2025/emailpipe/oldpipe/health_monitor.sh # To install these cron jobs: # 1. Copy the desired lines above # 2. Run: crontab -e # 3. Paste the lines # 4. Save and exit # To view current cron jobs: # crontab -l # To remove all cron jobs: # crontab -r