Cron Translator

com.crontoenglish由 crontoenglish.com 發布官方發布者v0.1.0更新於 Oct 24, 2026

Explain cron expressions in English, list next run times, and catch scheduling gotchas.

已驗證Streamable HTTP可網頁執行開發者工具

概覽

AI 產生的概覽

讓助理解釋 cron 運算式、列出接下來執行時間,並把英文排程描述轉成 cron 運算式。

可以做什麼
提供三個工具:explain_cron 將 cron 運算式翻成白話英文、列出指定時區的接下來執行時間,並指出常見的出錯陷阱;next_cron_runs 只回傳接下來幾次的執行時間,不含說明文字;build_cron 把英文排程描述轉成標準五欄位 cron 運算式,再加以解釋與驗證。轉換採固定文法的規則式處理,並非語言模型,無法解析時會回傳錯誤。
適用情境
當你需要讀懂或驗證現有的 cron 運算式、確認工作是否會在期限前執行,或把使用者口語描述的排程轉成 cron 運算式時使用。純粹需要準確的下次執行時間時也適用。
執行需求
需要能連線至遠端端點(streamable HTTP)。未宣告任何驗證、環境變數或標頭需求。
安裝前請注意
build_cron 為規則式轉換,只支援固定文法,較複雜的描述可能無法解析;產生的運算式仍應自行核對後再用於正式排程。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cron Translator,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.crontoenglish%2Fcron-translator/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "cron-translator": {
      "type": "http",
      "url": "https://crontoenglish.com/api/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

3

explain_cron

Explain a cron expression

Translate a cron expression into plain English, list its upcoming run times in a specific timezone, and report the gotchas that make schedules misfire. Use this whenever a cron expression needs to be read, verified, or explained — and prefer it over reasoning about the expression directly. Cron has several counter-intuitive rules that are easy to get wrong: day-of-month and day-of-week are combined with OR (not AND) when both are set, steps like */7 do not divide their field evenly, dates like February 30 never fire at all, and daylight-saving transitions skip or repeat runs. This tool checks all of them. Returns the normalised expression, a one-sentence description, a per-field breakdown, a list of warnings with severity and a fix for each, the next run times as both UTC ISO 8601 instants and local wall-clock strings, and an approximate runs-per-day figure.

輸入參數counttimezoneexpression必填

next_cron_runs

Next cron run times

List the next run times for a cron expression in a specific timezone, with no prose. Use this when the only question is "when does this next fire" — for example to check whether a job will run before a deadline, or to show a user their upcoming schedule. Do not compute these dates yourself: weekday arithmetic, month lengths, and daylight-saving shifts make manual calculation unreliable. Returns each run as a UTC ISO 8601 instant plus a local wall-clock rendering in the requested timezone. Refuses Quartz-only syntax (L, W, #, ?) rather than guessing.

輸入參數counttimezoneexpression必填

build_cron

Build a cron expression from English

Convert an English schedule description into a standard five-field cron expression, then explain and validate the result. Use this when a user describes a schedule in words and needs the expression. This is a RULE-BASED converter, not a language model: it handles a fixed grammar and returns an error listing the supported phrasings when a phrase falls outside it. That refusal is deliberate — a plausible-looking wrong schedule is worse than no answer. If a phrase is rejected, rephrase it into one of the supported shapes and call again. Returns the expression, which rule matched, any words the rules did not use (check these — leftover words may mean the phrase was misread), the English description of the result, warnings, and the next run times.

輸入參數phrase必填timezone

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。