Skip to content
A scalable, traceable job queue for background processing large queues of tasks in WordPress. Specifically designed for distribution in WordPress plugins (and themes) - no server access required.
PHP Other
  1. PHP 99.6%
  2. Other 0.4%
Branch: master
Clone or download
Latest commit bc039e2 Nov 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add # symbol to template, to allow Markdown linking Nov 2, 2018
classes
deprecated
docs Update Prospress references to WooCommerce/Automattic Oct 25, 2019
lib
tests Merge pull request #351 from Prospress/fix/350 Sep 3, 2019
.editorconfig Included .editorconfig file Oct 25, 2019
.gitattributes
.gitignore
.travis.yml
Gruntfile.js Added Gruntfile.js to check for text domains and PHPCS Oct 25, 2019
README.md
action-scheduler.php
codecov.yml
composer.json Updated composer.json and included WooCommerce-Sniffs Oct 25, 2019
composer.lock Updated composer.json and included WooCommerce-Sniffs Oct 25, 2019
functions.php Check for in-progress actions as next action Nov 13, 2019
license.txt update readme URLs to HTTPS Apr 4, 2019
package-lock.json Set NPM dependencies and pre-commit hook Oct 25, 2019
package.json Set NPM dependencies and pre-commit hook Oct 25, 2019
phpcs.xml Updated composer.json and included WooCommerce-Sniffs Oct 25, 2019

README.md

Action Scheduler - Job Queue for WordPress Build Status codecov

Action Scheduler is a scalable, traceable job queue for background processing large sets of actions in WordPress. It's specially designed to be distributed in WordPress plugins.

Action Scheduler works by triggering an action hook to run at some time in the future. Each hook can be scheduled with unique data, to allow callbacks to perform operations on that data. The hook can also be scheduled to run on one or more occassions.

Think of it like an extension to do_action() which adds the ability to delay and repeat a hook.

Battle-Tested Background Processing

Every month, Action Scheduler processes millions of payments for Subscriptions, webhooks for WooCommerce, as well as emails and other events for a range of other plugins.

It's been seen on live sites processing queues in excess of 50,000 jobs and doing resource intensive operations, like processing payments and creating orders, at a sustained rate of over 10,000 / hour without negatively impacting normal site operations.

This is all on infrastructure and WordPress sites outside the control of the plugin author.

If your plugin needs background processing, especially of large sets of tasks, Action Scheduler can help.

Learn More

To learn more about how to Action Scheduler works, and how to use it in your plugin, check out the docs on ActionScheduler.org.

There you will find:

Credits

Action Scheduler is developed and maintained by Automattic with significant early development completed by Flightless.

Collaboration is cool. We'd love to work with you to improve Action Scheduler. Pull Requests welcome.

You can’t perform that action at this time.