跳到主要內容
bobob

Cron 排程產生器

產生 five-field cron 表達式,並用可讀說明檢查重複任務的時間設定。

只在瀏覽器裡處理輸入的內容不會送到伺服器。

輸入與結果

輸入的內容只存在這個瀏覽器。重新開啟可以還原上次的操作。

  • 產生 five-field cron 表達式,並用可讀說明檢查重複任務的時間設定。
  • 以瀏覽器本機方式處理輸入,並在複製前檢查結果。
  • 搭配 Cron 排程產生器 與相關工具縮短工作流程。
常見輸入
*/15 * * * *
用此範例檢查 Cron 排程產生器 的輸入流程。
典型輸出
0 9 * * 1-5
複製前用來確認結果格式與後續檢查點。
附加範例
30 8 1 * *
複製前用來確認結果格式與後續檢查點。
附加範例
*/5 * * * *
複製前用來確認結果格式與後續檢查點。
附加範例
0 0 * * 0
複製前用來確認結果格式與後續檢查點。
  • 產生 five-field cron 表達式,並用可讀說明檢查重複任務的時間設定。
  • 如果瀏覽器本機處理方式和真實輸入結構不一致, 輸出不能直接信任。
  • 複製的值中如果混入正式密鑰、客戶資料或內部 URL, 分享前必須移除。
  1. 1再次比較原始輸入與輸出形態。
  2. 2確認目標執行環境、編碼、時區與安全政策差異。
  3. 3繼續用相關工具檢查 Cron 排程產生器 的結果是否適合下一步。
  • Day-of-month with day-of-week is OR, not AND

    POSIX crontab specifies that when neither the third field (day of month) nor the fifth (day of week) is a wildcard, the job runs if either matches. 0 0 13 * 5 means the 13th or any Friday, not Friday the 13th.

    依據:IEEE Std 1003.1 crontab

  • Five fields, starting at minutes

    POSIX defines minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-6). Six- and seven-field forms with seconds are a scheduler extension such as Quartz, and crontab rejects them.

    依據:IEEE Std 1003.1 crontab

  • Sunday is 0; accepting 7 is an extension

    POSIX gives the day-of-week range as 0-6 with 0 meaning Sunday. Also treating 7 as Sunday is an implementation extension documented in Linux crontab(5), so a line relying on it can silently stop firing elsewhere.

    依據:crontab(5)

Cron 排程產生器 的輸入在哪裡處理?

可行的處理會在瀏覽器中執行,但不要輸入正式密鑰或客戶資料。

結果可以直接用於正式環境嗎?

複製前請再次確認執行環境、編碼、時區與安全政策等環境差異。