woocommerce / action-scheduler
Action Scheduler for WordPress and WooCommerce
Installs: 4 145 819
Dependents: 38
Suggesters: 0
Security: 0
Stars: 639
Watchers: 106
Forks: 117
Open Issues: 58
Type:wordpress-plugin
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^7.5
- woocommerce/woocommerce-sniffs: 0.1.0
- wp-cli/wp-cli: ~2.5.0
- yoast/phpunit-polyfills: ^2.0
- dev-trunk
- 3.8.2
- 3.8.1
- 3.8.0
- 3.7.4
- 3.7.3
- 3.7.2
- 3.7.1
- 3.7.0
- 3.6.4
- 3.6.3
- 3.6.2
- 3.6.1
- 3.6.0
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.6
- v3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.1
- 3.0.0
- 3.0.0-RC-4
- 3.0.0-RC-3
- 3.0.0-RC-2
- 3.0.0-RC-1
- 3.0.0-beta-1
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- v2.1.1
- 2.1.0
- 2.0.0
- 2.0.0-RC-2
- 2.0.0-RC-1
- 2.0.0-beta-2
- 2.0.0-beta-1
- 1.5.3
- dev-fix/php84-nullables-must-be-explicit
- dev-add/has-pending-unit-tests
- dev-fix/1211-php-70-71
- dev-update-for-wp-6.7
- dev-issue/1052-use-ErrorException
- dev-release/3.7.5
- dev-try/fix-codecov
- dev-update/prepare-3.7.0
- dev-fix-php8-static-analysis
- dev-update/package-lock-and-gitignore
- dev-issue/510
- dev-fix/698
- dev-experiment/pipeline
- dev-test/php74-unit-tests
- dev-bump/3.2.0-b
- dev-fix/530-add-index
- dev-fix/530-3
- dev-fix/530-2
- dev-version_3_2_0
- dev-feature/add-filter-to-asnyc-runner-request-logic
- dev-fix/remove-relative-include-paths
- dev-issue_318
- dev-issue_551
- dev-maybe-fix-table-issue
- dev-fix/duplicate-initialization
- dev-tag/3.1.2
- dev-issue_464a
- dev-issue_435
- dev-version_3_1_0
- dev-issue_422
- dev-issue_411
- dev-issue/353
- dev-fix/360
- dev-version_3_0_0
- dev-issue_334
- dev-revert-292-fix/291
- dev-add/async-actions
- dev-release/2.3.0
- dev-fix/308
- dev-add/custom-tables-old
- dev-crstauf/issue_222
- dev-stop-the-insanity
- dev-unique_action_name
- dev-travis_update_rebase
- dev-add_phpcs
- dev-travis_update
- dev-issue_91
This package is auto-updated.
Last update: 2024-11-01 23:07:09 UTC
README
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 occasions.
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:
- Usage guide: instructions on installing and using Action Scheduler
- WP CLI guide: instructions on running Action Scheduler at scale via WP CLI
- API Reference: complete reference guide for all API functions
- Administration Guide: guide to managing scheduled actions via the administration screen
- Guide to Background Processing at Scale: instructions for running Action Scheduler at scale via the default WP Cron queue runner
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.