{{ humanReadableLong }}
Field | Value | Copy |
---|---|---|
{{ row.label }} | {{ row.value || '—' }} |
Crontab lines are compact schedules that state when commands should run. A cron schedule generator that mirrors the field logic helps you build expressions you can trust and understand quickly.
Enter minutes, hours, and calendar limits or pick a preset that matches a common interval, then read a plain English summary before copying the line. You can paste an existing schedule to interpret it and bring its parts into view for quick edits.
Results show the five timing fields and the complete line with the command and an optional user. Names for months and weekdays are accepted, so familiar words can stand in for numbers when that improves readability.
When both the day of month and the day of week are restricted, the run time may match either condition in many environments, so confirm behavior with a harmless command first. Keep inputs consistent across edits and prefer exact times for predictable runs.
Use the summary to verify intent, then copy the expression or the full line when it says exactly what you expect.
Schedules are defined by five quantities observed on a repeating calendar: minute, hour, day of month, month, and day of week. A compact expression is formed from these parts, and a full crontab line appends an optional user and the command to execute.
Computation produces three artifacts from the same inputs: the five‑field expression, a human‑readable description of the timing, and a copy‑ready line. Macros beginning with the at sign represent common schedules without expanding fields in place.
Results should be interpreted as inclusive matches on each field. Names are allowed for months and weekdays, and day of week accepts zero or seven for Sunday. Human text summarizes obvious patterns such as every five minutes or a specific time each day.
Comparisons across edits remain valid when the same command and the same field meanings are used. Advanced calendar nuances outside the accepted tokens are not interpreted by the validator.
Symbol | Meaning | Unit/Datatype | Source |
---|---|---|---|
m |
Minute field | Integer 0–59 or pattern | Input |
h |
Hour field | Integer 0–23 or pattern | Input |
dom |
Day‑of‑month field | Integer 1–31 or pattern | Input |
mon |
Month field | Integer 1–12 or JAN–DEC | Input |
dow |
Day‑of‑week field | Integer 0–7 (0/7=SUN) or SUN–SAT | Input |
U |
User column (system crontab style) | Username | Input |
C |
Command to execute | String | Input |
E |
Five‑field expression | String | Derived |
L |
Copy‑ready crontab line | String | Derived |
Field | Type | Min | Max | Step/Pattern | Error Text | Placeholder |
---|---|---|---|---|---|---|
Minute | Integer or pattern | 0 | 59 | *, list, range (x–y), step */n or x–y/n | Empty value; Malformed list; Invalid step; Range out of bounds; Range start > end; Value out of bounds; Unsupported token | *,0,30,*/5 |
Hour | Integer or pattern | 0 | 23 | *, list, range, step | Same set as above | *,0,3,*/2 |
Day of Month | Integer or pattern | 1 | 31 | *, list, range, step | Same set as above | 1–31 |
Month | Integer or name | 1 | 12 | *, list, range, step; JAN–DEC allowed | Same set as above | 1–12 or JAN–DEC |
Day of Week | Integer or name | 0 | 7 | *, list, range, step; 0/7=SUN; SUN–SAT allowed | Same set as above | 0–7 or SUN–SAT |
Input | Accepted Families | Output | Encoding/Precision | Rounding |
---|---|---|---|---|
Five fields or an @‑macro | Plain tokens, names for months and weekdays | Expression and full crontab line | Text; tokens separated by single spaces | Not applicable |
Paste to parse | Macro, five fields, or six fields with user | Fields populated; warning on extra lines | First non‑blank line only | Not applicable |
Exports | CSV and JSON | Copy or download artifacts | Text; keys and values serialized | Not applicable |
Processing is client‑only. Copy actions write to the clipboard, and downloads create local CSV or JSON files. No data is transmitted or stored server‑side.
@reboot
, @hourly
, @daily
, @weekly
, @monthly
, @yearly
.^[a-z_][a-z0-9_-]*[$]?$
; unusual accounts may not match.The schedule is defined first, then the expression and full line follow from it.
Example: minute 0
, hour */2
, others *
with command /usr/bin/rotate
produces 0 */2 * * * /usr/bin/rotate
.
Pro tip: parse a known good line, adjust one field, and copy the updated result.
No. All processing runs locally, copy and download actions operate on your device, and nothing is sent to a server.
Clipboard and file saves are local operations.Months accept JAN to DEC. Weekdays accept SUN to SAT. Names are case‑insensitive and checked against standard three‑letter forms.
Paste a line into the parser. Macros, five fields, and six‑field lines with a user are supported. Only the first non‑blank line is used.
It flags that day‑of‑month and day‑of‑week both limit runs. In many environments the job runs when either condition matches.
No. Macros remain as @reboot
, @hourly
, @daily
, @weekly
, @monthly
, or @yearly
in the expression and full line.
No. Those values are captured in JSON exports for documentation. The generated line includes only the expression, an optional user, and the command.
Yes. The generator runs locally and does not make requests.
*/
or after a range slash.*/n
or x–y/n
.x–y
.