[WordPress] 外掛分享: WP-Cron Control

首頁外掛目錄 › WP-Cron Control
1,000+
安裝啟用
★★★☆☆
3.5/5 分(10 則評價)
3032 天前
最後更新
問題解決
WordPress 3.4+ v0.7.1 上架:2011-07-31

內容簡介

這個外掛允許你掌控 cron 任務的執行。它主要適用於那些因為評論不足而無法確保 wp-cron 頻繁執行的網站,或那些因常規方法執行 cron 而引起競爭條件(race conditions),導致 wp-cron 多次同時執行的網站。它也可以幫助你處理錯過排程的文章。

這個外掛實現了一個秘密參數,只有在此參數存在時才會執行 cron 任務。

限制

為了禁用通過 WordPress 常規方法創建新 cron 進程,此外掛執行了remove_action('sanitize_comment_cookies','wp_cron');指令。如果 wp_cron 被掛鉤在其他動作或直接調用,這可能會引起問題。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.7.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP-Cron Control」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin allows you to take control over the execution of cron jobs. It’s mainly useful for sites that either don’t get enough comments to ensure a frequent execution of wp-cron or for sites where the execution of cron via regular methods can cause race conditions resulting in multiple execution of wp-cron at the same time. It can also help when you run into posts that missed their schedule.
This plugin implements a secret parameter and ensures that cron jobs are only executed when this parameter is existing.
Limitations
This plugin performs a remove_action( 'sanitize_comment_cookies', 'wp_cron' ); call in order to disable the spawning of new cron processes via the regular WordPress method. If wp_cron is hooked in an other action or called directly this might cause trouble.

延伸相關外掛

文章
Filter
Mastodon