Task Manager
Monitor background tasks, tune concurrency and heartbeats, and keep WordPress cron reliable for large media libraries.
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.
| Setting | Default | Description |
|---|---|---|
| Task Limit | 2 | Number of concurrent tasks. 0 means unlimited (not recommended). |
| Use WordPress Heartbeat | Off | Use WordPress’s heartbeat instead of Media Cloud’s. Can reduce reliability. |
| Enable Media Cloud Heartbeat | On | Runs a lightweight admin AJAX request every few seconds to keep tasks moving. |
| Generate Reports | On | Writes CSV reports for tasks that support them. |
| Heartbeat Frequency | 15 | Seconds between heartbeats. |
| Disable Plugins and Themes During Background Processing | Off | Disables other plugins and the theme only inside the background process. |
| Schedule Bulk Tasks | Off | Batches bulk actions from the media library into one scheduled task. |
| Schedule Delay | 60 | Minutes 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
- Confirm WP-Cron runs. Visit
wp-cron.phpor runwp cron event run --due-now. - Raise
max_execution_timeand PHP memory. - Lower the task limit to 1 and retry.
- Check Media Cloud → Debug Log for HTTP or API errors.
- 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.