Skip to content
onelayer.
All tools

Tool detail

crons

Creates a scheduled cron job that POSTs or GETs a target webhook URL on a cron schedule, with the first call including one run credit.

Categories: Workflow automation

Use when

  • schedule a webhook to be called on a recurring basis
  • set up a cron job that hits my endpoint daily

Not for

  • not a one-off call — this creates a recurring job
  • each run beyond the first consumes a separate paid credit

Inputs

POST JSON body: { schedule: string (cron expr, required), target: { url: string (required), method: GET|POST, headers, body } (required) }; optional maxRuns, notifyUrl

Inputs undocumented: open object without declared properties

Endpoint

Method
POST
URL
https://cron402-api.user-defaults.workers.dev/v1/crons

Payment

Protocol
x402
Listed price
0.008 USDC per call on Base (includes 1 run credit)
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://cron402-api.user-defaults.workers.dev/v1/crons
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z