Skip to content

Commit

Permalink
Merge pull request #166 from BeAPI/fix/alternativequeue
Browse files Browse the repository at this point in the history
Using alternative queue for the get_sites cronjob too
  • Loading branch information
petitphp authored Jan 22, 2025
2 parents 84c9856 + 43d2257 commit 6e7f0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron/cronjob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ else
fi

# Regular queue
$WP_CLI_BIN content-sync-fusion queue get_sites --url="$WP_NETWORK_URL" $ADDITIONAL_ARGS $WP_PATH | xargs -I {} $WP_CLI_BIN content-sync-fusion queue pull --alternativeq=$ALT_QUEUE --url={} $ADDITIONAL_ARGS $WP_PATH
$WP_CLI_BIN content-sync-fusion queue get_sites --alternativeq=$ALT_QUEUE --url="$WP_NETWORK_URL" $ADDITIONAL_ARGS $WP_PATH | xargs -I {} $WP_CLI_BIN content-sync-fusion queue pull --alternativeq=$ALT_QUEUE --url={} $ADDITIONAL_ARGS $WP_PATH

# Check for resync content (new site/blog)
$WP_CLI_BIN content-sync-fusion resync new_sites --smart=true --attachments=true --post_type=true --taxonomies=true --url="$WP_NETWORK_URL" $ADDITIONAL_ARGS $WP_PATH
Expand Down

0 comments on commit 6e7f0fc

Please sign in to comment.