Validate a schedule
cron_validate_scheduleValidate a cron expression before saving it as a job: get valid true/false, exact engine error, plain-English meaning, normalized form, warnings, and next run (with timezone/DST and seed handling).
Instructions
Check a cron expression before saving it as a job: valid true/false with the engine's exact error (including wrong-field hints for Quartz-style forms), the plain-English description, the normalized form, advisory warnings, and the first scheduled run, all from the server's scheduling engine. The dialect includes L (last day), L-n (n days before it), nW / LW (nearest / last weekday) and Ln / d#n (last / nth weekday: L5 = last Friday, 5#3 = third Friday). tz (IANA zone the job will run in) enables the DST checks; seed (the prospective job name) resolves Jenkins-style H slots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | ||
| seed | No | ||
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lint | No | ||
| seed | No | ||
| error | No | ||
| fires | No | ||
| valid | Yes | ||
| reboot | No | ||
| resolved | No | ||
| timezone | Yes | ||
| expression | Yes | ||
| normalized | No | ||
| description | No | ||
| never_fires | No |