Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
Task Manager
On this page

Task Manager

Monitor background tasks, tune concurrency and heartbeats, and keep WordPress cron reliable for large media libraries.

2 min read·2 tags

Media Cloud runs imports, migrations, thumbnail regeneration, vision processing, and other bulk operations as background tasks. The Task Manager shows what is running, what has finished, and what is scheduled.

Open it from Media Cloud → Task Manager.

How background processing works

Media Cloud starts a background request to the site and processes work in chunks. Progress depends on:

  • WordPress cron running on schedule, or Media Cloud’s heartbeat firing.
  • The task limit not being saturated by other tasks.
  • The server allowing loopback HTTP requests to the site.
  • PHP’s time and memory limits being high enough.

Settings

Open Media Cloud → Settings → Batch Processing.

SettingDefaultDescription
Task Limit2Number of concurrent tasks. 0 means unlimited (not recommended).
Use WordPress HeartbeatOffUse WordPress’s heartbeat instead of Media Cloud’s. Can reduce reliability.
Enable Media Cloud HeartbeatOnRuns a lightweight admin AJAX request every few seconds to keep tasks moving.
Generate ReportsOnWrites CSV reports for tasks that support them.
Heartbeat Frequency15Seconds between heartbeats.
Disable Plugins and Themes During Background ProcessingOffDisables other plugins and the theme only inside the background process.
Schedule Bulk TasksOffBatches bulk actions from the media library into one scheduled task.
Schedule Delay60Minutes to wait before a scheduled bulk task runs.

The same screen also has advanced HTTP client, SSL, timeout, and DNS settings. Change those only when the System Compatibility tool points to them.

Scheduled tasks

Bulk actions can be scheduled instead of running immediately. The Task Manager lists scheduled tasks and their next run time.

WP-CLI commands:

wp mediacloud:tasks scheduled
wp mediacloud:tasks run-scheduled
wp mediacloud:tasks clear-scheduled

If DISABLE_WP_CRON is set, call wp mediacloud:tasks run-scheduled from a real system cron job.

When tasks get stuck

  1. Confirm WP-Cron runs. Visit wp-cron.php or run wp cron event run --due-now.
  2. Raise max_execution_time and PHP memory.
  3. Lower the task limit to 1 and retry.
  4. Check Media Cloud → Debug Log for HTTP or API errors.
  5. Run the operation from WP-CLI for a large library.

For persistent loopback failures, run Media Cloud → System Compatibility and review the Background Connectivity step.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →