Format: minute hour day-of-month month day-of-week [year]
Format: second minute hour day-of-month month day-of-week [year]
Format Differences
Standard Cron (5-6 fields)
minute hour day-of-month month day-of-week [year]- • Day of week: 0=Sun, 1=Mon, ..., 6=Sat
- • No seconds field
Quartz Cron (6-7 fields)
second minute hour day-of-month month day-of-week [year]- • Day of week: 1=Sun, 2=Mon, ..., 7=Sat
- • Includes seconds field
What is Cron to Quartz Converter?
This tool converts standard Unix cron expressions to Quartz Scheduler cron format. The main differences are: Quartz requires a seconds field, uses different day-of-week numbering (1-7 instead of 0-6), and has different handling of day-of-month and day-of-week fields.
How to Use
- Enter your standard cron expression (5 or 6 fields)
- Click "Convert to Quartz" to get the Quartz-compatible expression
- Review the explanation to understand the schedule
- Copy the Quartz expression and use it in your Quartz scheduler
Why Use This Tool?
Tips & Best Practices
- Quartz requires a seconds field (defaults to 0)
- Day of week in Quartz: 1=Sunday, 2=Monday, ..., 7=Saturday
- Use ? for either day-of-month or day-of-week when specifying the other
- Quartz supports additional modifiers like L (last), W (weekday), # (nth)
Frequently Asked Questions
What is the main difference between standard and Quartz cron?
Quartz cron requires 6-7 fields (including seconds), while standard cron uses 5-6 fields. Also, Quartz uses 1-7 for day of week (Sunday=1), while standard cron uses 0-6 (Sunday=0).
Why does Quartz need a seconds field?
Quartz Scheduler provides more precise scheduling capabilities, allowing jobs to run at specific seconds. This field defaults to 0 when converting from standard cron.
What does the ? character mean?
In Quartz, ? means "no specific value" and is used when you want to specify either day-of-month OR day-of-week, but not both. For example, if you specify a specific day of month, use ? for day of week.
Is my data sent to a server?
No, all processing happens entirely in your browser. Your cron expression never leaves your device.