WordPress plugin intelligence profile

Async Background Worker

Async Background Worker, more information please visit this page [https://tonjoo.github.io/async-background-worker/](https://tonjoo.github.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.9
Current version1.0
WordPress coverageTested up to WordPress 4.9
Minimum stackWP 4.4 · PHP —
Directory statusactive
Last directory update27 Dec 20178y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Async Background Worker version 1.0 as active, updated 8y ago and tested up to WordPress 4.9.

Overview

About this plugin

io/async-background-worker/

Sample Usage

What is it?

WordPress background worker plugin that enable WordPress to interact with beanstalkd work queue.

Why we need a worker?

000 row into WordPress databases. 000 import in one job, we can separate the job into many smaller job which is safer.

WP-CLI

Make sure you have WP CLI installed on your system

Support Forum

com/thread-category/async-background-worker/

Add job to queue

-

Add new job to new worker queue using add_async_job command

$job = new stdClass(); // the function to run $job->function = 'function_to_execute_on_background'; // our user entered data $job->user_data = array('data'=>'some_data'); add_async_job($job);

-

Implement function

function function_to_execute_on_background($data) { //do something usefull echo "Background job executed successfully\n"; }

-

Run wp background-worker listen

Command

-

wp background-worker

Run Async Background Worker once.

-

wp background-worker listen

Run Async Background Worker in loop (contiously), this is what you want for background worker. WordPress framework is restart in each loop.

-

wp background-worker listen-daemon

Run Async Background Worker in loop (contiously) without restart the WordPress framework. NOTE if you use this mode, any code change will not be reflected. You must restart the Async Background Worker each time you change code.

This save memory and speed up thing.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • async background worker
  • background worker
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.9
Minimum requirementsWordPress 4.4 · PHP not listed
Update activity27 Dec 20178y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.