cronパーサー

cron式を貼り付けると、その意味と次の実行時刻が分かります。標準の5フィールド構文と@hourly / @daily / @weekly / @monthly / @yearlyエイリアスに対応。

次回実行時刻はブラウザのローカルタイムゾーンで計算されます。

平易な言葉で

Plain-English explanation will appear here.

次の5回の実行 (ローカル時刻)

Next scheduled run times will appear here.
Type a cron expression — fields are minute hour day-of-month month day-of-week.

フィールドリファレンス

FieldRangeSpecial
Minute0–59* , - */N
Hour0–23* , - */N
Day of month1–31* , - */N
Month1–12 or JANDEC* , - */N
Day of week0–6 (Sun=0) or SUNSAT* , - */N

Aliases: @yearly = 0 0 1 1 *, @monthly = 0 0 1 * *, @weekly = 0 0 * * 0, @daily = 0 0 * * *, @hourly = 0 * * * *.

day-of-month と day-of-week の相互作用

POSIX-style cron evaluates day-of-month and day-of-week with an OR rule when both are restricted. For example 0 12 1 * 1 fires at noon on the 1st of every month and every Monday — not only Mondays that fall on the 1st. If you want “only Mondays that are the 1st”, you have to filter inside the job.

よくある質問

0 12 1 * 1はどういう意味ですか?

毎月1日の正午 または 毎週月曜日の正午です。標準cronは、day-of-monthとday-of-weekの両方が制約されている場合ORとして扱います。

*/5 * * * *がぴったり5分ごとでないのはなぜ?

ぴったりです — ただしジョブを開始した時刻からの相対ではなく、5の倍数の分 (0、5、10、…) に必ず合います。*/5は「フィールド範囲内で5で割り切れる値」を意味します。

秒はサポートされますか?

このパーサーではされません。標準のUnix cronは5フィールドで秒はありません。一部のスケジューラ (Quartz、Spring) は6番目の秒フィールドを追加します — それらは6フィールド形式に対応した別のパーサーに貼り付けてください。

次回の実行はどのタイムゾーンですか?

あなたのブラウザのローカルタイムゾーンです。リストの上のラベルが明確化のためにゾーンオフセットを示します。

関連ツール