TOML Formatter & Validator - Online Config Tool
Check and beautify your TOML config files. Highlights errors and aligns tables and arrays. Safe local parsing.
UD5 Toolkit
Instantly translate between Quartz Scheduler Cron (6/7 fields) and Unix Crontab (5 fields) expressions. Handles weekday mapping, special characters, and format differences.
| Field | Quartz Cron | Unix Cron | Notes |
|---|---|---|---|
| Seconds | 0â59 | â (not present) | Quartz has seconds; Unix starts at minutes |
| Minutes | 0â59 | 0â59 | Same in both formats |
| Hours | 0â23 | 0â23 | Same in both formats |
| Day of Month | 1â31 | 1â31 | Quartz supports ?, L, W |
| Month | 1â12 / JANâDEC | 1â12 / JANâDEC | Same in both formats |
| Day of Week | 1â7 (1=SUN) | 0â6 (0=SUN) | Key difference! Mapping differs by 1 |
| Year | [optional] 1970â2099 | â (not supported) | Quartz optional 7th field; dropped in Unix |
? (converted to *), L, W, # â these will trigger a warning on conversion.
Quartz Cron uses 6 or 7 fields: Seconds Minutes Hours Day-of-Month Month Day-of-Week [Year]. It's used by the Quartz Scheduler in Java applications (including Spring Boot). Unix Cron (crontab) uses 5 fields: Minutes Hours Day-of-Month Month Day-of-Week. The key differences are: (1) Quartz has a seconds field; Unix does not. (2) Quartz weekday numbering is 1â7 (1=Sunday); Unix is 0â6 (0=Sunday). (3) Quartz supports extra special characters like ?, L, W, and # that Unix cron does not.
In Quartz, weekdays are numbered 1â7 where 1 = Sunday, 2 = Monday, ..., 7 = Saturday. In Unix cron, weekdays are 0â6 where 0 = Sunday (7 also means Sunday). The mapping formula: Unix = Quartz â 1 (e.g., Quartz 2/Monday â Unix 1/Monday). When using day names (SUN, MON, etc.), they remain the same across both formats since the names are identical.
? character during conversion?
The ? character in Quartz means "no specific value" and is used in either the Day-of-Month or Day-of-Week field (not both). When converting to Unix cron, ? is replaced with * (every value), since Unix cron doesn't support the ? concept. This preserves the intended behavior in most cases.
Yes! This tool supports bidirectional conversion. When converting Unix â Quartz, a seconds field of 0 is prepended, and weekday numbers are mapped from Unix (0â6) to Quartz (1â7). Click the swap button () to reverse the direction. However, note that Quartz-specific features (like L, W, #) cannot be recovered from a Unix expression.
L, W, and # in Quartz cron?
These are Quartz-specific special characters: L = "Last" (e.g., L in Day-of-Month = last day of month; 5L in Day-of-Week = last Thursday). W = "Weekday" (nearest weekday to the given day, e.g., 15W). # = "Nth weekday" (e.g., 2#3 = 3rd Monday). None of these are supported in Unix cron, so converting them will produce a warning and the characters may be simplified or stripped.
In most simple cases, the conversion is exact. However, differences can arise because: (1) Quartz treats Day-of-Month and Day-of-Week as an OR relationship when both are specified (not ? or *), while Unix cron behavior varies by implementation. (2) Quartz's L, W, and # have no Unix equivalent and are simplified. (3) Unix cron's 7 for Sunday is mapped to Quartz 1. Always test your converted expressions in the target environment.
No. The optional Year field (7th field) in Quartz cron is dropped when converting to Unix, since Unix cron has no year field. When converting Unix â Quartz, no year field is added (the 6-field Quartz format is used). If you need year-specific scheduling, you'll need to handle that at the application level.
Quartz Cron: Seconds 0â59 | Minutes 0â59 | Hours 0â23 | Day-of-Month 1â31 | Month 1â12 or JANâDEC | Day-of-Week 1â7 or SUNâSAT | Year (optional) 1970â2099.
Unix Cron: Minutes 0â59 | Hours 0â23 | Day-of-Month 1â31 | Month 1â12 or JANâDEC | Day-of-Week 0â7 or SUNâSAT (0 & 7 both = Sunday). Both formats support *, ,, -, and / special characters.
Yes! Both Quartz and Unix cron support three-letter abbreviations for months (JANâDEC) and weekdays (SUNâSAT). The names are case-insensitive in most implementations. This tool preserves name-based values during conversion, which is especially helpful for weekday fields since the numeric mapping differs but the names remain the same across formats.
Check and beautify your TOML config files. Highlights errors and aligns tables and arrays. Safe local parsing.
Check read/write/execute boxes and see the octal and symbolic chmod representation. Learn and compute file permissions.
An interactive reference for regular expression tokens. Click a token to see its explanation and example. Learn regex faster.
Enter a hex color and get its relative luminance per WCAG definition. Understand why this matters for contrast.
Upload a simple shape image and automatically trace its outline to a CSS clipâpath polygon. For creative web design. Local.
Paste your full CSS and HTML; automatically identify and extract the styles needed for the visible part. Reduce renderâblocking resources.
Pick a scale (Major, Harmonic Minor, DorianâŚ) and a root note. Shows the notes and highlights them on piano & guitar fretboard.
Upload a photo and extract a smooth CSS gradient that represents its color mood. Copy the linear-gradient code.
Paste a linearâgradient CSS value and see all the color stops listed as a palette. Copy individual hex codes. Quick reference.
View all CSS system colors (Canvas, ButtonFace, GrayText) as swatches. Click to copy. For forcedâcolors adaptation.
Take multiple evenly spaced screenshots from a video and combine them into a single filmstrip image. Local canvas.
Apply real-time CSS filters or canvas effects to a video and download the processed output. Experiment with video post-processing locally.
Paste your CSS and strip all `!important` declarations in one click. See a list of affected rules. Local tool.
Searchable table of wellâknown TCP and UDP ports with their services. Check 80, 443, 3306, and many more.
Place colored points on a canvas and see a smooth gradient mesh interpolate between them. Experimental and beautiful. Download PNG.
Select a meat or vegetable to see the best wood pairing for smoking. Flavor descriptions and intensity chart.
Enter water temperature and activity to get recommended wetsuit thickness (2/3mm to 6/5mm). Stay comfortable.
Set up multiple @layers and use revertâlayer to fall back. See the computed style and cascade resolution live.
Convert any PNG image into a proper .ico favicon file with multiple sizes embedded. For website icons. Local.
Convert hex or RGB to CIELAB L*a*b* values. Understand perceptual lightness and color opponents. Local math.
Paste a humanâreadable date (like 'next Friday' or 'March 5, 2023') and convert it to ISO 8601 format. Quick and tolerant.
Drop an image that might have wrong extension and see its real format (JPEG, PNG, WebP) based on header bytes.
Convert between Gregorian and Hijri (Islamic) dates. Approximate visual reference. Local algorithm.
Convert a Gregorian calendar date to its Julian Day Number and vice versa. Used in astronomy and mainframe computing.
Convert any humanâreadable date to a Unix timestamp in seconds or milliseconds. Also shows ISO 8601. Clean interface.
Translate between binary and Gray code (reflected binary code). See the bit changes. Useful for digital logic.
Encode decimal integers into signed magnitude binary representation and decode back. Learn computer arithmetic.
Convert a decimal number to 32-bit single precision IEEE 754 format. See sign, exponent, mantissa bits. Developer tool.
Convert any date into Roman numerals (dayâmonthâyear) for tattoos or special occasions. Clean and local.
Convert minutes to decimal hours and vice versa. Essential for billing and payroll. Instant conversion with a handy chart.