Skip to main content
A cron is a recurring scheduled webhook. You define a cron expression (e.g., */5 * * * * for every 5 minutes) and CronAPI fires an HTTP request to your URL on that schedule.

Cron object

Cron expressions

CronAPI uses standard 5-field cron syntax:
Examples: Cron expressions are validated on creation and update. Invalid expressions return a 400 error.

Pausing and resuming

You can pause a cron to temporarily stop execution without deleting it. Update the paused field to true:
Set paused to false to resume. The next_run_at is recalculated automatically when you update the cron expression.

Webhook execution

When a cron fires, CronAPI sends an HTTP request with:
  • The configured method (GET, POST, or DELETE)
  • Your custom headers merged with Content-Type: application/json
  • The body serialized as JSON (for POST requests)
  • A 30-second timeout — requests that exceed this are terminated
Each execution is logged as a run with the status code, response time, and any error details.

Manual trigger

You can fire a cron immediately using the trigger endpoint without affecting the regular schedule.