Back to blog
2 min read Product Updates

Content Sync Jobs in WP-CLI (What’s New in 2.1.59)

Import Export by RockStarLab 2.1.59 makes the WP-CLI job commands work with Content Sync, so a deployment script can push content from staging to production and check the result.

Free: the fix is in the free plugin. PRO: no change; PRO 2.1.16 works with 2.1.59.

job get and job wait read Content Sync jobs

A push, pull or media sync started from WP-CLI with an ability, for example wp rsl-ie ability sync-push-start, creates a Content Sync job. From 2.1.59, wp rsl-ie job get and wp rsl-ie job wait accept that job. job wait runs it in the WP-CLI process until it finishes, then prints the totals:

Terminal: a script pushes 2 posts with sync-push-start, then wp rsl-ie job wait prints the completed sync-push job with 2 succeeded
job wait prints the result of a Content Sync push.

The exit code is 0 when the job is done and 1 when it fails. When a media file is missing on the other site, the failed file is listed as a warning. Before 2.1.59, both commands stopped with “job_runner_unavailable” for Content Sync jobs.

How to update

Update from Dashboard → Updates on all connected sites. Connections, jobs and schedules stay as they are. As before any update, back up the site first.

With an AI agent

An AI agent connected through the WordPress MCP Adapter (see connecting Claude Code to WordPress) reads the same jobs without WP-CLI:

What did the last content push send to production?

In our run, the agent called rsl-ie/job-list and rsl-ie/sync-job-status: 2 posts updated and 1 image synced.

FAQ

Do I need WP-Cron for a push from WP-CLI?

No. wp rsl-ie job wait runs the job in the WP-CLI process.

Do import and export jobs change?

No. job get and job wait work for them as before.

Do I need to update PRO?

No. PRO stays at 2.1.16.

Get the free plugin on WordPress.org.

Dmitriy
About author

Dmitriy

WordPress Developer with 15+ years of commercial experience. Elite Author on ThemeForest and creator of custom WordPress plugins. Passionate about clean code, performance optimization, and building useful tools for the WordPress community.

JOIN THE CONVERSATION

Comments 0

Have a question or a tip to share? Leave it below.

Leave a comment

Your email address will not be published. Required fields are marked *

We store your name, email and comment to show and moderate it; your email is never published. Spam protection is provided by Cloudflare Turnstile and profile pictures by Gravatar. See our Privacy Policy.


Try the plugin with no risks!

New users get 1 month with access to all premium features. Experience the most powerful WordPress data engine today.

Download Now
Get PRO for FREE