GetProjectCrons

August 10, 2026 ยท View on GitHub

Example Usage

import { GetProjectCrons } from "@vercel/sdk/models/getprojectprojectsbuildmachinetype.js";

let value: GetProjectCrons = {
  enabledAt: 6854.98,
  disabledAt: 7243.34,
  updatedAt: 8101.47,
  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.GetProjectDefinitions[]:heavy_check_mark:N/A