外掛說明
使用者使用 Advanced Cron Manager 可以管理下列 WP Cron 事件:
- 檢視全部註冊的事件及其格式化引數
- 搜尋事件
- 手動執行任何事件
- 新增事件
- 暫停事件
- 刪除 (取消排程) 事件
- 為全部事件提供可複製貼上的 PHP 實作
- 事件批次操作
- 封鎖 WP Cron 產生事件,並獲得伺服器排程器的設定指引
並進行相關排程操作:
- 檢視全部註冊的排程
- 新增排程
- 編輯排程
- 移除排程
這個外掛使用 AJAX 要求,要使用便必須啟用 JavaScript。
Advanced Cron Manager PRO
PRO 版還包含以下功能:
- 更方便的事件規劃:使用者可以新增自訂排程,以便在指定時間啟動活動。舉例來說,讓事件在每個月的最後一天的中午啟動,或僅在星期五啟動
- Cron 記錄程式:輕鬆記錄記錄 Cron 執行時間
- 事件重新排程:變更事件下次執行日期以控制伺服器負載
- 事件接聽程式:使用者可以查看哪些函式或方法正在接聽特定事件
- 錯誤擷取器:擷取 Cron 工作嚴重錯誤,並將其顯示於記錄中
- 效能統計資料:查看特定事件花費的時間及記憶體用量
- 偵錯工具:記錄 Cron 回呼的任何有用資訊
WP Cron 相關資訊
注意事項:停用這個外掛後,已新增的排程便會無法使用,但已新增的事件仍可使用。
重要事項:WordPress Cron 依靠網站使用者觸發。WP Cron 僅在造訪頁面時才會觸發,因此結果可能不精確。
客製化開發
BracketSpace 是這個外掛的開發公司,並提供 WordPress 外掛客製化開發服務。我們能為客戶開發任何客製化外掛。
螢幕擷圖
安裝方式
前往 [外掛]→[安裝外掛] 畫面下載並安裝外掛。
啟用外掛後,外掛設定頁會成為 [工具] 選單項目。
常見問題集
-
外掛停用/移除後,工作及排程是否會繼續執行?
-
工作會繼續執行,排程不會繼續執行。
-
暫停/取消暫停的執行方式?
-
當使用者暫停事件時,該事件便會取消排程並儲存於 wp_option 資料表。如果取消事件暫停,便會重新排程事件。全部暫停的事件會在外掛解除安裝後重新排程。
-
什麼是事件勾點?
-
事件勾點用於動作。舉例來說,如果勾點為
hook_name
,則必須在 PHP 中加入以下程式碼:
add_action( 'hook_name', 'function_name' )
-
這個外掛是否像 WP Crontrol 外掛一樣允許新增 PHP 程式碼至事件中?
-
不能,因為這不安全。不過,使用者可以複製相關程式碼並在個人外掛或使用中的佈景主題的 functions.php 檔案中貼上。
-
這個外掛可以像 WP-Cron Control 外掛那樣封鎖 WP Cron 並改由伺服器 Cron 執行?
-
可以,但是 WP-Cron Control 十分老舊,現在也不再需要這項功能。Advanced Cron Manager 可以停用由造訪網站所產生的 WP Cron,並會提供使用者新增伺服器 Cron 工作的實用資訊。
-
是否可為我開發外掛?
-
可以!我們提供外掛客製化開發服務,隨時可以向我們洽詢,以便進一步了解我們能夠協助的項目。
使用者評論
參與者及開發者
變更記錄
2.5.10
- [Fixed] Fixed security issue causing subscribers could see the schedules or events.
2.5.9
- [Fixed] Missing plugin assets in package.
2.5.8
- [Fixed] Undefined variable typo.
2.5.7
- [Fixed] Plugin package.
2.5.6
- [Fixed] Security vulnerability.
2.5.5
- [Added] Custom schedules availability info.
2.5.4
- [Added] Code filters and actions. Required by Advanced Cron Manager PRO v2.7.
2.5.3
- [Security] Some input fields were not sanitized properly.
2.5.2
- [Fixed] Warning while adding new event.
- [Changed] Adding a proper message when you try to delete non-existing event.
2.5.1
- [Fixed] Dynamic property notices.
- [Fixed] Notice when adding event without arguments.
- [Fixed] Server scheduler conditional display logic.
- [Fixed] PHP 8 deprecated dynamic property creation.
- [Changed] Fixed typos.
- [Added] New WordPress protected events.
2.5.0
- [Changed] Updated dependencies (Node >= 12)
- [Changed] Adding a new event form now has more user-friendly argument management.
- [Added] Listeners – with PRO version you can now see all the methods hooked into the particular event.
- [Added] Event argument preview – arguments that contain objects, arrays, or are longer than 10 characters are now nicely formatted inside a modal.
2.4.2
- [Fixed] Link to server scheduler documentation
- [Fixed] Unauthorized actions. Now all the plugin actions are checking if the user is allowed to run them.
2.4.1
- [Fixed] Composer dev dependencies are now not bundled in the production package
- [Fixed] “nul” typo causing fatal errors on newer PHP versions
- [Changed] Updated composer dependencies
2.4.0
- [Added] Event columns sorting
- [Fixed] Cron hook sanitizer doesn’t allow usage of slashes
- [Fixed] Update list of protected events
- [Fixed] Preserve search when events table rerender
- [Changed] Don’t allow to pause protected events
2.3.10
- [Fixed] A “Trying to get property ‘hash’ of non-object” warning fix when executed event doesn’t exist anymore
- [Added] Action for adding own event row actions
2.3.9
- [Fixed] “non-numeric value encountered” error with event arguments
- [Fixed] Fatal error when even argument was an object. Now, class name is displayed
- [Changed] Now when event is executed manually, DOING_CRON constant is defined
2.3.8
- [Fixed] Events table width
- [Changed] ACF PRO download link
2.3.7
- [Fixed] WordPress <4.7 compatibility
2.3.6
- [Fixed] PHP 7.2 compatibility
2.3.5
- [Fixed] Fatal error when event argument was an object
- [Fixed] Notices
- [Fixed] Arguments list in the events table
- [Changed] Composer libraries updated
- [Changed] Node packages updated
- [Added] Plugin action link on Plugins table
= 2.3.4
* [Fixed] wp-hooks script handle, causing the page to not load plugin’s JavaScript
= 2.3.3
* [Changed] JavaScript hooks library which was conflicting with Gutenberg
2.3.2
- [Fixed] i18n of Apply button
- [Added] Scheduled and Uncheduled actions for events
2.3.1
- [Fixed] Array to string conversion error fix for event arguments
- [Fixed] Missing old plugin file error fix
- [Added] Notification plugin promo box
2.3.0
- [Changed] Proper compatibility with PHP 5.3
- [Changed] Updated composer libraries
- [Changed] Dice Container is not longer used
- [Fixed] Problem with nested Composer environment, thanks to @v_decadence
- [Fixed] Assets vendor directory
2.2.3
- [Added] Compatibility with PHP 5.3 with Dice library
- [Changed] PHP 5.6 requirement to PHP 5.3
- [Changed] Moved Container to separate file
2.2.2
- [Changed] Minimum PHP version to 5.6
2.2.1
- [Fixed] Delete file where DI52 container was still used
2.2.0
- [Changed] Updated composer libraries
- [Changed] Changed DI52 Container to Dice in own namespace
- [Added] Server Scheduler section with information about hooking the WP Cron to server scheduler
2.1.2
- [Changed] Schedules can be registered in the system with 0s interval, thanks to @barryalbert
2.1.1
- [Changed] Requirements lib has been moved to Composer
2.1.0
- [Changed] Utilities classes has been moved to separate composer libraries
- [Changed] Requirements checks
- [Changed] date() function to date_i18n()
- [Fixed] Deprecated function has been updated
- [Fixed] Translations. There was few missing gettext functions
- [Added] Schedules dropdown in add new event form now includes schedule’s slug
- [Added] Sanitization of Schedule and Event slugs in Add forms
2.0.0
- [Changed] Pretty much everything. There’s new interface and code base.
- [Added] Events search
- [Added] Ability to pause/unpause events
- [Added] Ability to edit schedules
- [Added] Example PHP implementation for each event (action and callback function)
- [Added] Bulk actions
1.5
- [Fixed] Manual execution of task which is giving an errors
1.4.4
- [Added] French translation thanks to Laurent Naudier
- [Changed] Promo box from Popslide plugin to Notification
1.4.3
- Metabox promo update
1.4.1
- Fixed executing when args are provided
1.4
- Added hooks for PRO version
- Removed PHP closing tags
- Added settings widget
1.3.2
- Fixed arguments passed to the action on AJAX request
1.3
- Added promo metabox
- WordPress 4.1 comatybility check
- Updated translation
- Added plugin icon
1.2
- Readme improvement
- Added execution button
- Removed debug alert
1.1
- Fixed Schedules list from other plugins
1.0
- Plugin release