ENHANCEMENT: Add spacing between sequential operations for better visibility

Added 2-second delays between site processing operations to:
- Improve visual clarity of sequential operations
- Prevent output from running together
- Make it clearer when each site processing begins/ends
- Improve readability for multi-site operations

Changes in two processing loops:
1. Server-wide disable operation (line ~2209)
2. Server-wide revert/re-enable operation (line ~2695)

Each operation now has spacing that shows:
  Processing: /home/site1/public_html (user: user1)
    Cron: 0,15,30,45 * * * *
  ✓ Converted
  [2 second pause before next site]

  Processing: /home/site2/public_html (user: user2)
    Cron: 0,15,30,45 * * * *
  ✓ Converted

This makes it much clearer which operations are for which sites.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
cschantz
2026-03-02 20:35:57 -05:00
parent 9972e59802
commit dfcbde52c9
@@ -2204,6 +2204,12 @@ case "$choice" in
echo -e "${GREEN}${NC} Converted"
fi
echo ""
# Add spacing between operations to prevent concurrent execution
# This ensures sequential processing with clear visual separation
if [ "$DRY_RUN" != "true" ]; then
sleep 2
fi
done <<< "$wp_configs"
echo ""
@@ -2685,6 +2691,12 @@ case "$choice" in
echo -e "${GREEN}${NC} Reverted"
fi
echo ""
# Add spacing between operations to prevent concurrent execution
# This ensures sequential processing with clear visual separation
if [ "$DRY_RUN" != "true" ]; then
sleep 2
fi
done <<< "$wp_configs"
# Remove all wp-cron jobs from all users