Skip to main content
Glama

List next (or previous) cron run times

next_cron_runs
Read-onlyIdempotent

List the next (or, with direction "previous", the most recent past) run times of a cron expression in an IANA time zone, DST-aware. Each run has the local time with its UTC offset, the UTC time, unix seconds and weekday. Default 5 runs, max 20; searches up to 50 years. Read-only. Same engine as GET /api/next and GET /api/previous.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoStart point (exclusive); default now. ISO 8601 with Z or an offset (2026-11-01T09:00:00Z), a local time read in the time zone (2026-11-01T09:00), or unix seconds.
countNoHow many runs (1-20).
timezoneNoIANA time zone the schedule runs in, e.g. "America/Denver", "Europe/London". Default UTC.UTC
directionNo"next" (default) or "previous" (most recent first).next
expressionYesCron expression, e.g. "0 9 * * 1-5", "*/15 * * * *", "0 30 8 * * *" (6 fields = leading seconds) or "@daily".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNo
runsYes
notesYes
versionYes
completeYes
timezoneYes
directionNo
expressionYes
normalizedNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources