Cron next runs

cron-next-runs · version 1.0.0 · Other utilities · free, no key needed

Compute the next requested UTC fire times for a five-field cron schedule and echo the supplied reference instant.

Use when you need to: next cron runs · calculate upcoming cron fire times · when will this cron run next.

Decide before calling

Read the versioned contract and the supported scope below. Reuse cron-next-runs@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use cron-next-runs@1.0.0 for next cron runs. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "expression": "15 * * * *",
  "reference_instant": "2026-01-01T00:00:00Z",
  "count": 2
}

Response:

{
  "result": {
    "expression": "15 * * * *",
    "reference_instant": "2026-01-01T00:00:00Z",
    "offset": "Z",
    "runs": [
      "2026-01-01T00:15:00Z",
      "2026-01-01T01:15:00Z"
    ],
    "standard_version": "POSIX.1-2024 crontab utility, INPUT FILES"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "cron-next-runs",
  "version": "1.0.0",
  "input": {
    "expression": "15 * * * *",
    "reference_instant": "2026-01-01T00:00:00Z",
    "count": 2
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/cron-next-runs/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"expression":"15 * * * *","reference_instant":"2026-01-01T00:00:00Z","count":2}'

The machine-readable contract is at /v1/tools/cron-next-runs/versions/1.0.0.

CLI

node cli.mjs run cron-next-runs 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.