Cron Expression Generator
Free visual cron expression generator. Select minutes, hours, days, months, and weekdays to auto-generate. Perfect for Linux, Unix, and server scheduled tasks. Preview included. Browser-based.
0-59
0-23
1-31
1-12
0-6 (日-土)
使用例:
* : すべての値
5 : 特定の値(5)
1-5 : 範囲(1から5)
*/5 : 間隔(5ごと)
1,3,5 : リスト(1と3と5)
* * * * *毎日、毎分に実行
こんな人におすすめ
- ✓Linuxサーバーでcrontabを設定するエンジニアの方
- ✓バッチ処理やスケジュールタスクを設定したい方
- ✓Cron式の書き方がよく分からない初心者の方
- ✓AWS LambdaやGitHub Actionsでスケジュール実行を設定したい方
- ✓サーバーレス環境で定期実行を行いたい開発者の方
使い方
- プリセットから近いパターンを選択します(オプション)
- 分・時・日・月・曜日の各フィールドを設定します
- 自動的にCron式が生成され、実行タイミングが表示されます
- 「コピー」ボタンでCron式をコピーします
- crontabやスケジューラーの設定ファイルに貼り付けます
活用シーン
サーバーバックアップの自動化
毎日深夜にデータベースのバックアップを取る、毎週日曜日にフルバックアップを実行するなど、定期的なバックアップスケジュールを設定できます。
レポート生成の自動化
毎月1日の朝9時に月次レポートを生成する、毎週月曜日に週次サマリーを送信するなど、定期レポート作成を自動化できます。
ログローテーション
サーバーログやアプリケーションログを定期的にアーカイブし、ディスク容量を管理します。
よくある質問(FAQ)
- Q: How to write cron expressions?
- A: Cron expressions consist of five fields: "minute hour day month weekday". Example: 0 9 * * 1 means "Every Monday at 9:00".
- Q: What does */5 mean?
- A: */5 means "every 5". For example, */5 in the minute field means every 5 minutes (0, 5, 10, 15...).
- Q: Which systems can use this?
- A: Can be used with Linux, Unix, macOS, and some cloud services (AWS Lambda, GitHub Actions, etc.) with cron-compatible schedulers.