UpdateProjectCrons

July 24, 2026 ยท View on GitHub

Example Usage

import { UpdateProjectCrons } from "@vercel/sdk/models/updateprojectbranchmatcher.js";

let value: UpdateProjectCrons = {
  enabledAt: 5091.49,
  disabledAt: 1157.1,
  updatedAt: 5685.67,
  deploymentId: "<id>",
  definitions: [
    {
      host: "vercel.com",
      path: "/api/crons/sync-something?hello=world",
      schedule: "0 0 * * *",
    },
  ],
};

Fields

FieldTypeRequiredDescription
enabledAtnumber:heavy_check_mark:The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.
disabledAtnumber:heavy_check_mark:The time the feature was disabled for this project.
updatedAtnumber:heavy_check_mark:N/A
deploymentIdstring:heavy_check_mark:The ID of the Deployment from which the definitions originated.
definitionsmodels.UpdateProjectDefinitions[]:heavy_check_mark:N/A