Update Schedule
Update an existing schedule. All fields are optional - only include fields you want to update.
Authorizations
API key for authentication. Get your API key from the Cronhost dashboard.
Path Parameters
Unique schedule identifier
"schedule_123"
Body
Human-readable schedule name
1 - 255"Updated Schedule Name"
Optional description of what the schedule does
1000"Updated description"
Valid cron expression defining when to run
"0 10 * * *"
IANA timezone identifier
"UTC"
Target HTTP endpoint URL
"https://api.example.com/health"
HTTP method to use for the request
GET, POST, PUT, DELETE, PATCH "POST"
Request body for POST/PUT/PATCH requests
"{\"updated\": true}"
HTTP headers as JSON string
"{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}"
Total attempts including the first. Accepted values are clamped to 1-10 (0 becomes 1).
5
Request timeout in seconds. Accepted values are clamped to 1-300.
60
Comma-separated 3-digit codes/ranges counted as success (e.g. "200-299,410"). Pass an empty string to clear back to the default rule (status < 400).
"200-299,410"