Skip to main content
For schedules, limits, and retries, see cron jobs.

Create a cron job

string
required
Name shown in Pxxl.
string
required
Five-field cron expression such as */5 * * * *.
string
required
Public HTTP or HTTPS endpoint called by the job.
GET | POST | PUT | PATCH | DELETE
HTTP method used for the request. Python sends GET unless you pass another method.
object
Request headers sent to the endpoint. Not available in Rust.
number
Maximum time to wait for a response, in seconds.
string
Project associated with the job.
string
Team that owns the job.
Returns

Cron operations

Trigger and read a run

Job headers can contain secrets. Keep cron management in trusted server code.

Other languages

Python sends extra keyword arguments to the API as they are, so use the API’s field names: timeoutSeconds, projectId, and headers. Pass the team as team_id. In Go and Rust, set the team with the input’s TeamID or team_id field.

Handle plan limits

Plan and resource-limit responses include structured fields. Use the SDK helper instead of parsing response text or hardcoding plan limits.