jobs

Create a scheduled job

post/api/scheduled-jobs/{namespace}

Path parameters

namespacestring required

Request body

schedulestring required

CRON schedule expression (e.g., '0 9 * * 1' for 9 AM every Monday).

suspendboolean

Whether the scheduled job is suspended (paused)

concurrencyboolean

Whether multiple instances of this job can run concurrently

Response

The scheduled job data

idstring required
createdAtstring date-time required
schedulestring required
suspendboolean required
suspendReasonstring
concurrencyboolean required
type'scheduled-job' required

Changes

Changed in 2 of the 50 revisions of this API.5

    • added the new optional request property jobSpec/resourceGroupId

      new-optional-request-property

    • added the optional property jobSpec/resourceGroup to the response with the 200 status

      response-optional-property-added

    • added the optional property jobSpec/resourceGroupId to the response with the 200 status

      response-optional-property-added

    • added the new optional request property jobSpec/expose/portsPublic

      new-optional-request-property

    • added the optional property jobSpec/expose to the response with the 200 status

      response-optional-property-added