[WordPress] 外掛分享: Run External Crons

首頁外掛目錄 › Run External Crons
70+
安裝啟用
★★★★★
5/5 分(2 則評價)
4989 天前
最後更新
問題解決
WordPress 3.3+ v1.0 上架:2012-08-13

內容簡介

插件主頁 | 插件作者 | 捐贈

這個外掛讓 WordPress 成為一個可以定期訪問外部網址(即任何網址)的 cron 系統。用戶可以提交 URL 和 WordPress 應該打開它的時間間隔。

例如,這可以用於其他 WordPress 網站的主機沒有原生 cron 系統或設置復雜的情況。對於這種情況,URL 應為 http://example.com/wp-cron.php 格式,并且在 wp-config.php 文件中應該有常量 DISABLE_WP_CRON,以避免運行 WordPress 自己的虛擬 cron:
    define(‘DISABLE_WP_CRON’, true);

建議為安裝了此插件的網站設置實際的 cron,間隔應從設置中最低的間隔開始。遵循上方的 WordPress 特定建議,並檢查插件頁面上的鏈接以了解如何設置。

如果您是翻譯人員,可以將此插件翻譯為您的語言並將翻譯發送給插件作者。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

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

原文外掛簡介

Plugin homepage | Plugin author | Donate
This plugin enables using WordPress as a cron system that would hit external URLs (ie. any URL) on a scheduled basis. User can submit URL and interval in which that URL should be opened by WordPress.
This can be used, for example, for other WordPress sites that are on hosts that don’t have native cron system or where it’s complicated to set it up. For that cases, URL should be in format http://example.com/wp-cron.php and there should be constant DISABLE_WP_CRON in wp-config.php file to avoid running WordPress own pseudo cron:
define(‘DISABLE_WP_CRON’, true);
It’s recommended to setup a real cron for the site where this plugin is installed, with interval that is the lowest one from settings. Follow WordPress specific advises from above, and check links from plugin’s page on how to set up this.
If you are translator, you can translate this plugin to your language and send translations to plugin’s author.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon