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
2xxresponse 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
httporhttps. Private, loopback, and metadata addresses are blocked.
From the CLI and SDKs
pxxl cron commands, and the SDK cron guide to manage jobs from code.
