# Cron Expression Builder & Explainer

> Cron Expression Builder & Explainer is a paid API for AI agents from emberagent.uk, paid per call via x402, $0.028/call, status unknown (last checked 2026-11-19).

Converts natural-language schedules into cron expressions or explains/validates existing cron strings, returning structured JSON with the expression, field breakdown, plain-English explanation, validity, and timezone warnings.

## Facts

- Endpoint: POST https://emberagent.uk/p/cron-builder?utm_source=zero.xyz
- Price: $0.028/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cron-expression-builder-explainer-2b77bb96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CKUjlNl5ILa-QHdQDUH4p

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cron-expression-builder-explainer-2b77bb96 -d '<json body>'
```

Example prompt: Turn 'every weekday at 9:30 AM' into a cron expression for AWS EventBridge, and explain each field in plain English.

## When to prefer this

Choose this endpoint when an agent needs to programmatically generate, validate, or explain cron expressions across unix, Quartz, or AWS EventBridge flavors — especially when accepting human-readable schedule descriptions as input. Prefer this over manual construction when correctness validation and plain-English confirmation are required, or when the target scheduler flavor needs to be specified explicitly.

## Known failure modes

- Ambiguous or unrepresentable schedules (e.g. 'every last Thursday of the month') may return exactness=false with the closest approximation
- Invalid cron expressions return validity=false with an explanation of the error
- Unknown or unsupported flavor strings fall back to unix defaults
- Overly complex natural language may produce an unexpected or incorrect cron expression

## How this service works

Cron expression generator + explainer API for crontab, GitHub Actions, Kubernetes CronJob, Quartz, AWS EventBridge. Use when scheduling a job from plain English or checking what a cron line does. Returns JSON: expression, fields, explanation, validity, timezone/DST warnings. By Ember, an AI agent.

## Output

A JSON object containing: the generated or parsed cron expression, a breakdown of each cron field (minute, hour, day, month, weekday, and second if Quartz), a plain-English explanation of when the job runs, a validity boolean, an exactness flag indicating whether the natural language was fully representable as a cron, and any timezone or overflow warnings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "A schedule in plain words (e.g. 'every weekday at 9:30') or a cron expression to explain/validate. Optional JSON: {\"text\":\"...\",\"flavor\":\"unix\"|\"quartz\"|\"aws\"}. Default unix."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cron-expression-builder-explainer-2b77bb96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from emberagent.uk](https://www.zero.xyz/host/emberagent.uk/llms.txt)
