{ "data": { "id": "schedule_123", "name": "Daily Health Check", "cronExpression": "0 9 * * *", "timezone": "America/New_York", "endpoint": "https://api.example.com/health", "httpMethod": "GET", "isEnabled": true, "nextRunAtUtc": "2024-01-15T14:00:00.000Z", "createdAt": "2024-01-01T12:00:00.000Z", "updatedAt": "2024-01-14T14:00:00.000Z", "maxRetries": 3, "timeoutSeconds": 30, "description": "Check API health every day at 9 AM", "body": "{\"key\": \"value\"}", "headers": "{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}", "lastRunAtUtc": "2024-01-14T14:00:00.000Z", "expectedStatusCodes": "200-299,410" }, "success": true}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"cronhost docs","colors":{"primary":"#26a69a","light":"#8e44ad","dark":"#8e44ad"},"logo":{"light":"https://mintcdn.com/cronhost/SOOAaFtqMUzKZi8J/logo.svg?fit=max\u0026auto=format\u0026n=SOOAaFtqMUzKZi8J\u0026q=85\u0026s=2324ad1efddc4bec182959feb33de3b3","dark":"https://mintcdn.com/cronhost/SOOAaFtqMUzKZi8J/logo.svg?fit=max\u0026auto=format\u0026n=SOOAaFtqMUzKZi8J\u0026q=85\u0026s=2324ad1efddc4bec182959feb33de3b3"},"favicon":"https://mintcdn.com/cronhost/SOOAaFtqMUzKZi8J/favicon.svg?fit=max\u0026auto=format\u0026n=SOOAaFtqMUzKZi8J\u0026q=85\u0026s=7dc0956a9ec79af4ba9943feded04094","navbar":{"links":[{"href":"mailto:help@cronho.st","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://cronho.st/dashboard"}},"footer":{"socials":{"github":"https://github.com/cronho-st"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://cronho.st"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cronhost","hasAudioNarration":false,"actualSubdomain":"cronhost","customDomains":["docs.cronho.st"],"gitSource":{"type":"github","owner":"trezma","repo":"cronhost-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9291c2b9379feda83fef8:success","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"API Reference","count":21},{"language":"default","tag":"Schedule Endpoints","count":8},{"language":"default","tag":"Notification Channel Endpoints","count":6},{"language":"default","tag":"SDK Reference","count":5},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Core Features","count":3},{"language":"default","tag":"Job Endpoints","count":2},{"language":"default","tag":"Schedule Notification Endpoints","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/schedule/update-schedule","slug":"/api-reference/schedule/update-schedule","pageMetadata":{"title":"Update Schedule","openapi":"PUT /schedules/{id}","description":"Update an existing schedule. All fields are optional - only include fields you want to update.","href":"/api-reference/schedule/update-schedule"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update an existing schedule. All fields are optional - only include fields you want to update.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Schedule","openapi":"PUT /schedules/{id}","description":"Update an existing schedule. All fields are optional - only include fields you want to update.","href":"/api-reference/schedule/update-schedule"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update Schedule","description":"Update an existing schedule. All fields are optional - only include fields you want to update.","operationId":"updateSchedule","tags":["Schedules"],"parameters":["51f8c3e3-ba8e-4ef1-aee1-89307c529835"],"requestBody":"19c6b0cd-21bc-46ef-a62f-814965cf64ef","responses":{"200":"c88972a3-20c8-48d2-9ebc-da3024f19969","400":"f7f23c64-d32a-47f2-a131-a43c6a2eb851","401":"a63adfcf-8005-468a-84e5-19e2b8aea5b7","404":"26e4165e-0311-4201-b3ab-b808cb023c17","500":"4feaba9b-8145-4b49-a329-6debe3d2e54f"},"method":"put","type":"path","servers":["e69cde36-1f9a-44bb-9d8d-1f8c99013a9d"],"security":["d2a11870-975c-4444-b80e-1f83f5966183"],"path":"/schedules/{id}","baseUrlOptions":["https://cronho.st/api/v1"],"title":"Update Schedule","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"51f8c3e3-ba8e-4ef1-aee1-89307c529835":{"name":"id","in":"path","required":true,"description":"Unique schedule identifier","schema":{"type":"string","example":"schedule_123","isRequired":true,"description":"Unique schedule identifier","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Human-readable schedule name","example":"Updated Schedule Name","minLength":1,"maxLength":255,"uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"Optional description of what the schedule does","example":"Updated description","maxLength":1000,"uniqueKey":"description","typeLabel":"string"},"cronExpression":{"type":"string","description":"Valid cron expression defining when to run","example":"0 10 * * *","uniqueKey":"cronExpression","typeLabel":"string"},"timezone":{"type":"string","description":"IANA timezone identifier","example":"UTC","uniqueKey":"timezone","typeLabel":"string"},"endpoint":{"type":"string","format":"uri","description":"Target HTTP endpoint URL","example":"https://api.example.com/health","uniqueKey":"endpoint","typeLabel":"string\u003curi>"},"httpMethod":{"type":"string","enum":["GET","POST","PUT","DELETE","PATCH"],"description":"HTTP method to use for the request","example":"POST","uniqueKey":"httpMethod","typeLabel":"enum\u003cstring>"},"body":{"type":"string","description":"Request body for POST/PUT/PATCH requests","example":"{\"updated\": true}","uniqueKey":"body","typeLabel":"string"},"headers":{"type":"string","description":"HTTP headers as JSON string","example":"{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}","uniqueKey":"headers","typeLabel":"string"},"maxRetries":{"type":"integer","description":"Total attempts including the first. Accepted values are clamped to 1-10 (0 becomes 1).","example":5,"uniqueKey":"maxRetries","typeLabel":"integer"},"timeoutSeconds":{"type":"integer","description":"Request timeout in seconds. Accepted values are clamped to 1-300.","example":60,"uniqueKey":"timeoutSeconds","typeLabel":"integer"},"expectedStatusCodes":{"type":"string","description":"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 \u003c 400).","example":"200-299,410","uniqueKey":"expectedStatusCodes","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"updateName":{"title":"updateName","value":{"name":"Updated Schedule Name"}},"updateCron":{"title":"updateCron","value":{"cronExpression":"0 10 * * *","maxRetries":5}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"c88972a3-20c8-48d2-9ebc-da3024f19969":{"description":"Schedule updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["id","name","cronExpression","timezone","endpoint","httpMethod","isEnabled","nextRunAtUtc","createdAt","updatedAt","maxRetries","timeoutSeconds"],"properties":{"id":{"type":"string","description":"Unique schedule identifier","example":"schedule_123","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"name":{"type":"string","description":"Human-readable schedule name","example":"Daily Health Check","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"cronExpression":{"type":"string","description":"Valid cron expression defining when to run","example":"0 9 * * *","pattern":"^\\s*($|#|\\w+\\s*=|(\\?|\\*|(?:[0-5]?\\d)(?:(?:-|\\/|\\,)(?:[0-5]?\\d))?(?:,(?:[0-5]?\\d)(?:(?:-|\\/|\\,)(?:[0-5]?\\d))?)*)\\s+(\\?|\\*|(?:[0-5]?\\d)(?:(?:-|\\/|\\,)(?:[0-5]?\\d))?(?:,(?:[0-5]?\\d)(?:(?:-|\\/|\\,)(?:[0-5]?\\d))?)*)\\s+(\\?|\\*|(?:[01]?\\d|2[0-3])(?:(?:-|\\/|\\,)(?:[01]?\\d|2[0-3]))?(?:,(?:[01]?\\d|2[0-3])(?:(?:-|\\/|\\,)(?:[01]?\\d|2[0-3]))?)*)\\s+(\\?|\\*|(?:0?[1-9]|[12]\\d|3[01])(?:(?:-|\\/|\\,)(?:0?[1-9]|[12]\\d|3[01]))?(?:,(?:0?[1-9]|[12]\\d|3[01])(?:(?:-|\\/|\\,)(?:0?[1-9]|[12]\\d|3[01]))?)*)\\s+(\\?|\\*|(?:[1-9]|1[012])(?:(?:-|\\/|\\,)(?:[1-9]|1[012]))?(?:L|W)?(?:,(?:[1-9]|1[012])(?:(?:-|\\/|\\,)(?:[1-9]|1[012]))?(?:L|W)?)*|\\?|\\*|(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?(?:,(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(?:(?:-)(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?)*)\\s+(\\?|\\*|(?:[0-6])(?:(?:-|\\/|\\,|#)(?:[0-6]))?(?:L)?(?:,(?:[0-6])(?:(?:-|\\/|\\,|#)(?:[0-6]))?(?:L)?)*|\\?|\\*|(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?(?:,(?:MON|TUE|WED|THU|FRI|SAT|SUN)(?:(?:-)(?:MON|TUE|WED|THU|FRI|SAT|SUN))?)*)(|\\s)+(\\?|\\*|(?:|\\d{4})(?:(?:-|\\/|\\,)(?:|\\d{4}))?(?:,(?:|\\d{4})(?:(?:-|\\/|\\,)(?:|\\d{4}))?)*))$","isRequired":true,"uniqueKey":"data.cronExpression","typeLabel":"string"},"timezone":{"type":"string","description":"IANA timezone identifier","example":"America/New_York","isRequired":true,"uniqueKey":"data.timezone","typeLabel":"string"},"endpoint":{"type":"string","format":"uri","description":"Target HTTP endpoint URL","example":"https://api.example.com/health","isRequired":true,"uniqueKey":"data.endpoint","typeLabel":"string\u003curi>"},"httpMethod":{"type":"string","enum":["GET","POST","PUT","DELETE","PATCH"],"description":"HTTP method to use for the request","example":"GET","isRequired":true,"uniqueKey":"data.httpMethod","typeLabel":"enum\u003cstring>"},"isEnabled":{"type":"boolean","description":"Whether the schedule is currently active","example":true,"isRequired":true,"uniqueKey":"data.isEnabled","typeLabel":"boolean"},"nextRunAtUtc":{"oneOf":[{"type":"string","format":"date-time","description":"Next scheduled execution time in UTC","example":"2024-01-15T14:00:00.000Z","isRequired":true,"uniqueKey":"data.nextRunAtUtc.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Next scheduled execution time in UTC","example":"2024-01-15T14:00:00.000Z","isRequired":true,"uniqueKey":"data.nextRunAtUtc.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.nextRunAtUtc","typeLabel":"string\u003cdate-time> | null"},"createdAt":{"type":"string","format":"date-time","description":"Schedule creation timestamp","example":"2024-01-01T12:00:00.000Z","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last modification timestamp","example":"2024-01-14T14:00:00.000Z","isRequired":true,"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"maxRetries":{"type":"integer","minimum":1,"maximum":10,"description":"Total attempts including the first, clamped to 1-10. Retries fire only for 5xx, 408, 429, timeouts, and network errors.","example":3,"isRequired":true,"uniqueKey":"data.maxRetries","typeLabel":"integer"},"timeoutSeconds":{"type":"integer","minimum":1,"maximum":300,"description":"Request timeout in seconds, clamped to 1-300","example":30,"isRequired":true,"uniqueKey":"data.timeoutSeconds","typeLabel":"integer"},"description":{"oneOf":[{"type":"string","description":"Optional description of what the schedule does","example":"Check API health every day at 9 AM","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional description of what the schedule does","example":"Check API health every day at 9 AM","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"body":{"oneOf":[{"type":"string","description":"Request body for POST/PUT/PATCH requests","example":"{\"key\": \"value\"}","uniqueKey":"data.body.oneOf.0","typeLabel":"string"},{"type":"null","description":"Request body for POST/PUT/PATCH requests","example":"{\"key\": \"value\"}","uniqueKey":"data.body.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.body","typeLabel":"string | null"},"headers":{"oneOf":[{"type":"string","description":"HTTP headers as JSON string","example":"{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}","uniqueKey":"data.headers.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTTP headers as JSON string","example":"{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}","uniqueKey":"data.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.headers","typeLabel":"string | null"},"lastRunAtUtc":{"oneOf":[{"type":"string","format":"date-time","description":"Last execution time in UTC","example":"2024-01-14T14:00:00.000Z","uniqueKey":"data.lastRunAtUtc.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Last execution time in UTC","example":"2024-01-14T14:00:00.000Z","uniqueKey":"data.lastRunAtUtc.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastRunAtUtc","typeLabel":"string\u003cdate-time> | null"},"expectedStatusCodes":{"oneOf":[{"type":"string","description":"Comma-separated 3-digit status codes and ranges counted as success (e.g. \"200-299,410\"). When null, the default success rule applies (status \u003c 400).","example":"200-299,410","uniqueKey":"data.expectedStatusCodes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Comma-separated 3-digit status codes and ranges counted as success (e.g. \"200-299,410\"). When null, the default success rule applies (status \u003c 400).","example":"200-299,410","uniqueKey":"data.expectedStatusCodes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.expectedStatusCodes","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"success":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["data","success"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"schedule_123","name":"Daily Health Check","cronExpression":"0 9 * * *","timezone":"America/New_York","endpoint":"https://api.example.com/health","httpMethod":"GET","isEnabled":true,"nextRunAtUtc":"2024-01-15T14:00:00.000Z","createdAt":"2024-01-01T12:00:00.000Z","updatedAt":"2024-01-14T14:00:00.000Z","maxRetries":3,"timeoutSeconds":30,"description":"Check API health every day at 9 AM","body":"{\"key\": \"value\"}","headers":"{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}","lastRunAtUtc":"2024-01-14T14:00:00.000Z","expectedStatusCodes":"200-299,410"},"success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"f7f23c64-d32a-47f2-a131-a43c6a2eb851":{"description":"Validation error occurred","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Error code for programmatic handling","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"Additional error details","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Validation error","code":"VALIDATION_ERROR","details":{"fieldErrors":{"cronExpression":["Invalid cron expression"],"endpoint":["Must be a valid URL"]}}}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Validation error","code":"VALIDATION_ERROR","details":{"fieldErrors":{"cronExpression":["Invalid cron expression"],"endpoint":["Must be a valid URL"]}}}}}},"exampleType":"examples"}},"exampleType":"examples"},"a63adfcf-8005-468a-84e5-19e2b8aea5b7":{"description":"Authentication failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Error code for programmatic handling","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"Additional error details","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missingApiKey":{"title":"missingApiKey","value":{"error":{"message":"Missing x-api-key header","code":"UNAUTHORIZED"}}},"invalidApiKey":{"title":"invalidApiKey","value":{"error":{"message":"Invalid API key","code":"UNAUTHORIZED"}}}},"exampleType":"examples"}},"exampleType":"examples"},"26e4165e-0311-4201-b3ab-b808cb023c17":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Error code for programmatic handling","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"Additional error details","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"scheduleNotFound":{"title":"scheduleNotFound","value":{"error":{"message":"Schedule not found","code":"NOT_FOUND"}}},"jobNotFound":{"title":"jobNotFound","value":{"error":{"message":"Job not found","code":"NOT_FOUND"}}}},"exampleType":"examples"}},"exampleType":"examples"},"4feaba9b-8145-4b49-a329-6debe3d2e54f":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Error code for programmatic handling","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"Additional error details","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Internal server error","code":"INTERNAL_ERROR"}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Internal server error","code":"INTERNAL_ERROR"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"d2a11870-975c-4444-b80e-1f83f5966183":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Get your API key from the [Cronhost dashboard](https://cronho.st/settings).","scopes":[]}}},"servers":{"e69cde36-1f9a-44bb-9d8d-1f8c99013a9d":{"url":"https://cronho.st/api/v1","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Get your API key from the [Cronhost dashboard](https://cronho.st/settings).","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"API key for authentication. Get your API key from the [Cronhost dashboard](https://cronho.st/settings).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"cronhost","siteName":"cronhost docs","title":"Update Schedule - cronhost docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-10T13:28:28.683Z","originalFileLocation":"api-reference/schedule/update-schedule.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an existing schedule. All fields are optional - only include fields you want to update.\">\u003cmeta data-mint-head name=\"application-name\" content=\"cronhost docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Schedule - cronhost docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing schedule. All fields are optional - only include fields you want to update.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"cronhost docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cronho.st/api-reference/schedule/update-schedule\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cronhost.mintlify.site/_mintlify/api/og/v2?division=Schedule+Endpoints\u0026amp;title=Update+Schedule\u0026amp;description=Update+an+existing+schedule.+All+fields+are+optional+-+only+include+fields+you+want+to+update.\u0026amp;theme=0eaa4cdf00275d047fda26c0\u0026amp;signature=225f9a9a276e935478c7cb03883bd6c8f798a97f896318cacdfe8a3d2753cc0f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Schedule - cronhost docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing schedule. All fields are optional - only include fields you want to update.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cronhost.mintlify.site/_mintlify/api/og/v2?division=Schedule+Endpoints\u0026amp;title=Update+Schedule\u0026amp;description=Update+an+existing+schedule.+All+fields+are+optional+-+only+include+fields+you+want+to+update.\u0026amp;theme=0eaa4cdf00275d047fda26c0\u0026amp;signature=225f9a9a276e935478c7cb03883bd6c8f798a97f896318cacdfe8a3d2753cc0f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cronhost/-xo7VWUCkCtcu1O_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"cronhost docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#26a69a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cronho.st/api-reference/schedule/update-schedule\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/schedule/update-schedule.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cronho.st/#organization\",\"name\":\"cronhost docs\",\"url\":\"https://docs.cronho.st\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cronhost/SOOAaFtqMUzKZi8J/logo.svg?fit=max\u0026auto=format\u0026n=SOOAaFtqMUzKZi8J\u0026q=85\u0026s=2324ad1efddc4bec182959feb33de3b3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cronho.st#website\",\"name\":\"cronhost docs\",\"url\":\"https://docs.cronho.st\",\"publisher\":{\"@id\":\"https://docs.cronho.st/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cronho.st/api-reference/schedule/update-schedule#webpage\",\"url\":\"https://docs.cronho.st/api-reference/schedule/update-schedule\",\"name\":\"Update Schedule\",\"description\":\"Update an existing schedule. All fields are optional - only include fields you want to update.\",\"dateModified\":\"2025-11-10T13:28:28.683Z\",\"isPartOf\":{\"@id\":\"https://docs.cronho.st#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cronho.st/api-reference/schedule/update-schedule#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cronho.st/api-reference/schedule/update-schedule#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Schedule Endpoints\",\"item\":\"https://docs.cronho.st/api-reference/schedule/list-schedules\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Schedule\",\"item\":\"https://docs.cronho.st/api-reference/schedule/update-schedule\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cronho.st/api-reference/schedule/update-schedule#apireference\",\"headline\":\"Update Schedule\",\"name\":\"Update Schedule\",\"description\":\"Update an existing schedule. All fields are optional - only include fields you want to update.\",\"url\":\"https://docs.cronho.st/api-reference/schedule/update-schedule\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cronho.st/api-reference/schedule/update-schedule#webpage\"},\"dateModified\":\"2025-11-10T13:28:28.683Z\",\"publisher\":{\"@id\":\"https://docs.cronho.st/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cronho.st#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"cronhost docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"cronhost docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/schedule/update-schedule.md","siteName":"cronhost docs","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://cronho.st"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"SDK Reference","pages":[{"title":"SDK Reference","href":"/sdk-reference/introduction"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Timezone Reference","href":"/timezones"}]},{"group":"Schedule Endpoints","pages":[{"title":"List Schedules","openapi":"GET /schedules","href":"/api-reference/schedule/list-schedules"},{"title":"Create Schedule","openapi":"POST /schedules","href":"/api-reference/schedule/create-schedule"},{"title":"Bulk Create Schedules","openapi":"POST /schedules/bulk","href":"/api-reference/schedule/bulk-create-schedules"},{"title":"Get Schedule","openapi":"GET /schedules/{id}","description":"Retrieve a specific schedule by its ID.","href":"/api-reference/schedule/get-schedule"},{"title":"Update Schedule","openapi":"PUT /schedules/{id}","href":"/api-reference/schedule/update-schedule"},{"title":"Delete Schedule","openapi":"DELETE /schedules/{id}","description":"Permanently delete a schedule. This action cannot be undone.","href":"/api-reference/schedule/delete-schedule"},{"title":"Toggle Schedule","openapi":"PATCH /schedules/{id}/toggle","href":"/api-reference/schedule/toggle-schedule"},{"title":"Trigger Schedule","openapi":"POST /schedules/{id}/trigger","href":"/api-reference/schedule/trigger-schedule"}]},{"group":"Job Endpoints","pages":[{"title":"List Jobs","openapi":"GET /jobs","href":"/api-reference/job/list-jobs"},{"title":"Get Job","openapi":"GET /jobs/{id}","href":"/api-reference/job/get-job"}]},{"group":"Notification Channel Endpoints","pages":[{"title":"List Notification Channels","openapi":"GET /notification-channels","href":"/api-reference/notification-channel/list-notification-channels"},{"title":"Create Notification Channel","openapi":"POST /notification-channels","href":"/api-reference/notification-channel/create-notification-channel"},{"title":"Get Notification Channel","openapi":"GET /notification-channels/{id}","href":"/api-reference/notification-channel/get-notification-channel"},{"title":"Update Notification Channel","openapi":"PATCH /notification-channels/{id}","href":"/api-reference/notification-channel/update-notification-channel"},{"title":"Delete Notification Channel","openapi":"DELETE /notification-channels/{id}","href":"/api-reference/notification-channel/delete-notification-channel"},{"title":"Verify Notification Channel","openapi":"POST /notification-channels/{id}/verify","href":"/api-reference/notification-channel/verify-notification-channel"}]},{"group":"Schedule Notification Endpoints","pages":[{"title":"Get Schedule Notifications","openapi":"GET /schedules/{id}/notifications","href":"/api-reference/schedule/get-schedule-notifications"},{"title":"Set Schedule Notifications","openapi":"PUT /schedules/{id}/notifications","href":"/api-reference/schedule/set-schedule-notifications"}]}]}]},"basePath":"","title":"Update Schedule - cronhost docs","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DPDWPCdE.js","utils-DyjUHyLo.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BWYE1cdS.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-COAzxpEw.js","snippetPresets-DNiD_S52.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-DDHbuAIY.js","ApiExamples-CjwVt80x.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ByHQMk7z.js","shallow-CaZuw1AO.js","getApiPlaygroundDisplay-DPVPOknm.js","CodeSnippet-B31CH-Mp.js","CodeSnippets-BxTYZWz6.js","getPastedJson-DhoAwiNO.js","icon-Dhq8z75J.js","MethodPill-DLXmKOwr.js","DuplicateIcon-jzdVwyRU.js","createIcon-eD0b3klN.js","DynamicMarkdown-BfddVCX7.js","SectionHeading-2pSCIo17.js","axios-vUo_bRtp.js","Markdown-DsWjhwJ4.js","clsx-B2t_mZQG.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CUljsAY7.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Cf70306N.js"]}