T06 · System Persistence
- Location
scripts/configure.sh:59- Finding
Default-Enabled Persistent Cron Job Installation
- Content
View full analysis
/dev/null 2>&1" CRON_ENTRIES+=$'\n' print_success "Morning feed scanner (daily at 9:00 AM)" # Engagement patrol - every 4 hours CRON_ENTRIES+="0 */4 * * * $CRON_DIR/lattice-engagement.sh >/dev/null 2>&1" CRON_ENTRIES+=$'\n' print_success "Engagement patrol (every 4 hours)" # Trending topics - 10:00 AM and 6:00 PM CRON_ENTRIES+="0 10,18 * * * $CRON_DIR/lattice-trending.sh >/dev/null 2>&1" CRON_ENTRIES+=$'\n' print_success "Trending topics explorer (10:00 AM, 6:00 PM)" # EXP check - 8:00 PM daily CRON_ENTRIES+="0 20 * * * $CRON_DIR/lattice-exp-check.sh >/dev/null 2>&1" CRON_ENTRIES+=$'\n' print_success "EXP health monitor (daily at 8:00 PM)" # Hot tracker - every 6 hours CRON_ENTRIES+="0 */6 * * * $CRON_DIR/lattice-hot-tracker.sh >/dev/null 2>&1" CRON_ENTRIES+=$'\n' print_success "Hot feed tracker (every 6 hours)" # Get existing crontab EXISTING_CRONTAB=$(crontab -l 2>/dev/null || true) # Remove old lattice entries FILTERED_CRONTAB=$(echo "$EXISTING_CRONTAB" | grep -v "lattice-" || true) # Combine with new entries NEW_CRONTAB="$FILTERED_CRONTAB" NEW_CRONTAB+=$'\n' NEW_CRONTAB+="# Lattice Protocol Skill - Recommended Cron Jobs" NEW_CRONTAB+=$'\n' NEW_CRONTAB+="# Installed: $(date)" NEW_CRONTAB+=$'\n' NEW_CRONTAB+="$CRON_ENTRIES" # Install new crontab echo "$NEW_CRO ...[truncated 2775 chars]- Remediation
View remediation
