# Spraay Cron Job Cancellation

> Spraay Cron Job Cancellation is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Cancels a previously scheduled cron job by its job ID so it will no longer execute.

## Facts

- Endpoint: POST https://gateway.spraay.app/api/v1/cron/cancel?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spraay-cron-job-cancellation-bb668f1c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_802g2vl4QwnM6u-MAgIZo

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 spraay-cron-job-cancellation-bb668f1c -d '<json body>'
```

Example prompt: Cancel my scheduled cron job — the job ID is job_abc123 — I don't want it to fire anymore.

## When to prefer this

Use this endpoint when you need to definitively stop a scheduled cron job from executing in the future and have the job's ID. Prefer this over alternatives when you want a permanent cancellation rather than a pause, and when you are operating within the Spraay gateway ecosystem where the job was originally registered.

## Known failure modes

- Job ID not found — returns error if the jobId does not exist or belongs to a different user
- Already cancelled — job may have already been cancelled or completed
- Invalid input — missing or malformed jobId in the request body
- Unauthorized — attempting to cancel a job not owned by the caller

## How this service works

Cancel one of your own scheduled jobs by jobId so it no longer fires.

## Output

A confirmation that the specified cron job has been cancelled and will no longer execute, including the job ID and updated status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "jobId": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spraay-cron-job-cancellation-bb668f1c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
