From 43d2257fe46555fd304f445c86269cea063bbd0c Mon Sep 17 00:00:00 2001 From: Nicolas JUEN Date: Mon, 13 Jan 2025 12:08:52 +0100 Subject: [PATCH] fix: Use the alternativeq param to the cronjob too. Or it will always get the normal queue. --- cron/cronjob.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/cronjob.sh b/cron/cronjob.sh index 6011116..9208559 100755 --- a/cron/cronjob.sh +++ b/cron/cronjob.sh @@ -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