Skip to main content
A Pxxl cron job sends an HTTP request to your app on a schedule. Use it for cleanups, reports, cache refreshes, and reminders. Cron jobs are on Plus, Pro, and Enterprise plans.

Create a job

1

Open Cron Jobs

In the dashboard, open Cron Jobs and choose New Cron Job.
2

Set the request

Enter a name, the method (GET, POST, PUT, PATCH, or DELETE), the public URL, and a timeout from 1 to 30 seconds. Use Test URL to check Pxxl can reach it.
3

Add headers

Add an auth header, such as Authorization: Bearer <token>. Headers are stored as secrets.
4

Set the schedule

Enter a cron expression or pick a preset. Validate shows the next run time.

Schedule format

Five fields: minute hour day-of-month month day-of-week.

Protect the endpoint

The URL is public, so check a secret header before doing any work:

How runs work

  • Pxxl checks for due jobs every 30 seconds.
  • Each run is one HTTP request. A 2xx response is a success. Anything else, a network error, or a timeout is a failure.
  • Run history keeps the status code and up to 10 KB of the response body.
  • After 3 failures in a row, Pxxl disables the job. Fix the endpoint, then start the job again.
  • Trigger runs the job now. It shows in the same history.
  • URLs must be public http or https. Private, loopback, and metadata addresses are blocked.
Keep the handler fast. For long work, queue it and return 200 straight away. Make the handler safe to run twice.

From the CLI and SDKs

See CLI commands for all pxxl cron commands, and the SDK cron guide to manage jobs from code.