Skip to content
YAS.SH
Utilities🌐 YAS server-sideAPI availableadvanced

Cron Parser

Computes the next 5 run times for a cron expression.

Processed by YAS · not stored
Ready to runInstant execution
All tools →
Result

What does this tool do?

Computes the next 5 run times for a cron expression.

Why would I use it?

  • You are scheduling jobs and want to verify timing.
  • You want to check whether a cron expression matches your intent.
  • You are debugging why a job runs at the wrong time.

Real-life example

Input
0 9 * * 1-5
Output
Next: Mon 2026-08-17 09:00 · Tue 09:00 · ...

Weekdays only, 9 AM, starting from today.

Input → Process → Output → Next

Input
Enter a 5-field cron expression.
Process
YAS parses and computes the next matches.
Output
The next 5 run times in your timezone.
Next action
Compare with the schedule you intended.

Common mistakes

  • Using the 6-field (seconds) syntax when 5 fields are expected.
  • Forgetting timezone effects (cron uses the server timezone).
  • Writing expressions that never match (e.g. Feb 30).

What the result means

Each listed time is when the job will trigger.

Privacy & security

Your input is sent to YAS infrastructure because the tool requires server-side processing or public network queries. Input is not stored.

API

Endpoint
POST https://yas.sh/api/v1/tools/cron-parser
Request Header
Content-Type: application/json
cURL
curl -X POST "https://yas.sh/api/v1/tools/cron-parser" \
  -H "Content-Type: application/json" \
  -d '{"input":"*/15 * * * *"}'
JavaScript
const res = await fetch("https://yas.sh/api/v1/tools/cron-parser", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "input": "*/15 * * * *"
}),
});
const data = await res.json();
Python
import requests

r = requests.post("https://yas.sh/api/v1/tools/cron-parser", json={"input":"*/15 * * * *"})
data = r.json()
FieldTypeRequiredDescription
inputstringYesCron expression, e.g. */15 * * * *
countintegerNo (default 5)1–10 next runs
Success response
{ "result": { "valid": true, "expression": "*/15 * * * *", "next": ["2026-08-08T12:15:00.000Z", ...] } }

Parse a 5/6-field cron expression and compute the next 5 run times (UTC).

Error responses
  • 400 VALIDATION_ERROR — invalid input or unsupported option.
  • 413 PAYLOAD_TOO_LARGE — input exceeds the 64 KB limit.
  • 429 RATE_LIMIT_EXCEEDED — rate limit exceeded (60 req/min).
Limits
  • Maximum input: 64 KB per request.
  • Rate limit: 60 requests/min per IP address.
  • Authenticated accounts benefit from higher tier quotas.
Ask YAS AI
🍪 Cookies & privacy. Essential cookies keep you signed in and remember language and theme. Google AdSense and reCAPTCHA are Google technologies: AdSense runs only after Accept All; reCAPTCHA loads on sign-in and contact forms. See how Google uses data: https://policies.google.com/technologies/partner-sites cookie policy · privacy policy.
Settings