v1.0.0 安定版

Cron式ジェネレーター

直感的で高機能な開発者向けCrontab設定ツール。Cron式の生成、次回実行日時の確認、自然言語での解釈をリアルタイムで実行できます。

“Every minute.”
next at Calculating…
Minute Presetsallowed: 0-59 , - * /

Upcoming Execution Schedule

Code Snippets

Loading...

Crontab Syntax Cheatsheet

any value
value list separator
range of values
step values
no specific value (Quartz / AWS EventBridge conflict prevention)
@yearlyrun once a year, "0 0 1 1 *" (non-standard)
@monthlyrun once a month, "0 0 1 * *" (non-standard)
@weeklyrun once a week, "0 0 * * 0" (non-standard)
@dailyrun once a day, "0 0 * * *" (non-standard)

Enterprise Templates Library

One-click standard configurations for developers

Cronジェネレーターの使い方

わずか数ステップで標準的なCron式を簡単に生成できます。

1. フィールドを選択

分・時・日・月・週の5つのフィールドから設定したい項目をクリックして選択します。

2. 値を入力

テキストボックスにカスタムパターン(例: */15、0、1-5)を入力するか、プリセットを選択します。

3. コピーして利用

日本語の説明と次回実行日時を確認し、コピーボタンをクリックしてCron式を取得します。

Cron式とは?

Cronジョブとは、LinuxやUnix系OSで指定した日時にタスクを自動実行するスケジューラー機能です。

Crontab設定ファイルの各行は「分 時 日 月 曜日」の5つのフィールドで構成されています。

Cron式の構造

標準的なUnix crontabは、半角スペースで区切られた5つのフィールドで表現されます。

FieldRequiredAllowed ValuesAllowed Special Chars
MinuteYes* , - /
HourYes* , - /
Day of MonthYes* , - / ? L W
MonthYes* , - /
Day of WeekYes* , - / ? L #

よく使われるCron式の例

*/5 * * * *

Every 5 minutes

0 * * * *

Every hour at minute 0

0 0 * * *

Every day at midnight

0 9 * * 1-5

At 09:00 AM, Monday through Friday

0 0 1 * *

At midnight on day 1 of every month

0 0 * * 0

At midnight every Sunday

よくある質問 (FAQ)

How do I test a cron expression online?

Simply input your cron string into the interactive editor above. CronGen automatically parses the expression, renders a natural-language description, and calculates upcoming run execution times in real time.

What is the difference between 5-field and 6-field cron expressions?

Standard Unix crontab uses 5 fields (minute, hour, day of month, month, day of week). Systems like Quartz, AWS EventBridge, and Spring use 6 or 7 fields by adding seconds or year parameters.