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

前言介紹

  • 這款 WordPress 外掛「WP-Cron Control」是 2011-07-31 上架。
  • 目前有 2000 個安裝啟用數。
  • 上一次更新是 2017-11-28,距離現在已有 2713 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.4 以上版本才可以安裝。
  • 有 10 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

tott | batmoo | ethitter | automattic |

外掛標籤

cron | wp cron | cron jobs | scheduled posts | post missed schedule |

內容簡介

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

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

限制

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

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP-Cron Control」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.6 | 0.7 | 0.7.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Cron Jobs 》Cron Jobs 是一個簡單但強大的外掛,可協助您輕鬆管理網站的排程工作。, 我們提供基本的排程工作管理工具,新功能即將推出。, 使用此外掛,您可以:, , 執行...。
  • DX-auto-publish 》自動排程發布外掛。, 1、能夠自動批量排程發布 WordPress 站點的草稿文章,無須每篇文章都手動設定發布時間,大大提高了工作效率。, 2、能夠自定義發布文章的...。
  • WP-Auto-Publish 》將您計畫發布的所有文章儲存為草稿並進行一些設置,然後更新並啟動。, 1、可以指定計劃任務的開始時間、發布時間間隔、發布數量,, 2、可選擇按ID升序或隨機...。
  • WP Cron per Action 》如果 WP Cron 中有一個消耗大量時間的重複例行動作,那麼其餘正在載入的動作就會有更少的剩餘時間,並有更大的機會達到 PHP 的最大執行時間。, 如果您的預定...。

文章
Filter
Apply Filters
Mastodon