前言介紹
- 這款 WordPress 外掛「Action Scheduler」是 2020-07-13 上架。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2025-02-03,距離現在已有 91 天。
- 外掛最低要求 WordPress 6.5 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.1 以上。
- 有 13 人給過評分。
- 論壇上目前有 2 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!
外掛協作開發者
royho | vedjain | jamosova | sadowski | wpmuguru | konamiman | automattic | barryhughes-1 | claudiosanches | peterfabian1000 | obliviousharmony |
外掛標籤
內容簡介
Action Scheduler 是一個可擴展、可追蹤的工作排程佇列,可在 WordPress 中背景處理大量的操作。這個工具特別設計用於分散在 WordPress 外掛中。
Action Scheduler 是透過觸發一個操作鉤子,讓它在將來某個時間執行。每個鉤子可以用唯一的資料來排程,讓回呼函數可以對該資料執行操作。這個鉤子也可以排程在一個或多個時間執行。
可以把它視為是 do_action() 的擴展,它添加了延遲和重複鉤子的功能。
受過驗證的背景處理
Action Scheduler 每個月處理了無數的付款,包括 訂閱配件、WooCommerce 的 Webhooks 以及其他外掛的電子郵件和事件。
它被看到在現場網站上處理多達 50,000 個工作佇列,並以持續速率超過 10,000 / 小時的節奏進行資源密集型操作,例如處理付款和建立訂單,而不會對正常的網站運作造成負面影響。
這全部都是在插件作者無法控制的基礎設施和 WordPress 網站上進行的。
如果您的外掛需要背景處理,特別是大量的任務,Action Scheduler 可以幫上忙。
了解更多
要了解有關 Action Scheduler 如何運作以及如何在您的外掛中使用它,請查看ActionScheduler.org上的文件。
在那裡您會找到:
使用指南:安裝和使用 Action Scheduler 的指示
WP CLI 指南:通過 WP CLI 運行 Action Scheduler 的指示
API 參考:所有 API 函數的完整參考指南
管理指南:通過管理畫面管理排程操作的指南
在規模上背景處理指南:通過預設的 WP Cron 佇列運行 Action Scheduler 的指示
致謝
Action Scheduler 由 Automattic 開發和維護,早期開發工作由 Flightless 完成。
合作很酷。我們很樂意與您合作,以改進 Action Scheduler。歡迎發送 Pull Request。
原文外掛簡介
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Action Scheduler」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
3.1.6 | 3.2.0 | 3.2.1 | 3.3.0 | 3.4.0 | 3.4.1 | 3.4.2 | 3.5.0 | 3.5.1 | 3.5.2 | 3.5.3 | 3.5.4 | 3.6.0 | 3.6.1 | 3.6.2 | 3.6.3 | 3.6.4 | 3.7.0 | 3.7.1 | 3.7.2 | 3.7.3 | 3.7.4 | 3.8.0 | 3.8.1 | 3.8.2 | 3.9.0 | 3.9.1 | 3.9.2 | trunk |
延伸相關外掛(你可能也想知道)
WP Crontrol 》WP Crontrol 可以讓您查看和控制 WP-Cron 系統中正在發生的事件。從管理界面,您可以:, , 查看所有的 Cron 事件以及它們的參數、循環間隔時間、回撥函數以及...。
Missed Scheduled Posts Publisher by WPBeginner 》WordPress Missed Scheduled Posts Publisher by WPBeginner, 您是否遇到預定發佈文章時出現“錯過預定時間”的錯誤?, 這個外掛專注於一件事情,並做得非常出...。
Advanced Cron Manager – debug & control 》使用 Advanced Cron 管理器,您可以管理 WP Cron 事件:, , 查看所有已註冊的事件, 搜索事件, 手動執行任何事件, 新增事件, 暫停事件, 刪除(取消排程)事件,...。
Transients Manager 》簡單管理快取資料, 這是一個開發者工具,提供使用者介面來管理快取資料。, 您可以從「工具 → 快取資料」輕鬆地檢視、搜尋、編輯和刪除快取資料。, 工具列開關...。
WP-Cron Status Checker 》如果 WP-Cron 停止運作,會發生什麼事情?, WordPress、佈景主題和外掛都不會知道是否有新版本推出。您可能每天登錄您的網站數月,但從不會看到任何有關更新...。
Revisionize 》在繁忙的網站上,您不能沒有審查和批准就對已發布的帖子作出更改。 Revisionize 可以將您的文章、頁面或自定義文章類型複製一份為草稿,讓您自由地調整、編輯...。
TAO Schedule Update 》一個簡單的 WordPress 外掛,可用於排程內容更新。, 動機:, 現今,WordPress 幾乎不再只被用作純粹的部落格。大多數情況下,它被用作功能完整的 CMS,有許多...。
WP-Cron Control 》這個外掛允許你掌控 cron 任務的執行。它主要適用於那些因為評論不足而無法確保 wp-cron 頻繁執行的網站,或那些因常規方法執行 cron 而引起競爭條件(race c...。
Cron Logger 》你有沒有好奇過你的 WordPress 在 wp-cron.php 中在做什麼?現在你可以看到了。這個外掛可以紀錄每個排程。, 其他訊息。
WP Healthcheck 》WP Healthcheck 是一個外掛程式,可以檢查您的 WordPress 安裝的狀態。, 它可以檢測一些有關網站健康狀況的有用信息,例如活動 Transients 和 autoload 選項...。
WP Cron HTTP Auth 》這個外掛可在使用 HTTP 授權的網站上啟用 WP Cron。, 使用方式:訪問外掛設定,輸入您的 HTTP 授權憑證,保存更改,完成。, 所有工作在背景中靜默且自動進行...。
Cron Jobs 》Cron Jobs 是一個簡單但強大的外掛,可協助您輕鬆管理網站的排程工作。, 我們提供基本的排程工作管理工具,新功能即將推出。, 使用此外掛,您可以:, , 執行...。
Cron Setup and Monitor – Get URL Cron 》使用 Get URL Cron 外掛可以檢視、建立和檢查 cron 作業,進行 Http-URL 或 Shortcode 請求。, Get URL Cron 外掛功能包括:, * 新增、編輯、刪除 cron 作業...。
Crony Cronjob Manager 》需要 PHP 5.6+ 和 WordPress 4.9+。, 通過載入 URL 的腳本,包括腳本、運行功能和/或運行 PHP 代碼,創建並管理 WP 中的 Cronjobs。此外,此外掛利用了 wp_cr...。
Cronjob Scheduler 》Cronjob Scheduler, Cronjob Scheduler 可以讓您建立自訂的 WordPress 任務,並在您定義的排程上自動觸發。, Cronjob Scheduler 不會覆蓋 WordPress 現有的排...。