From dfcbde52c98de031cce178fb72481e759a0042e6 Mon Sep 17 00:00:00 2001 From: cschantz Date: Mon, 2 Mar 2026 20:35:57 -0500 Subject: [PATCH] ENHANCEMENT: Add spacing between sequential operations for better visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/website/wordpress/wordpress-cron-manager.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/website/wordpress/wordpress-cron-manager.sh b/modules/website/wordpress/wordpress-cron-manager.sh index f3ba97a..aa620b7 100755 --- a/modules/website/wordpress/wordpress-cron-manager.sh +++ b/modules/website/wordpress/wordpress-cron-manager.sh @@ -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