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
| Field | Type | Required | Description |
|---|---|---|---|
enabledAt | number | :heavy_check_mark: | The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs. |
disabledAt | number | :heavy_check_mark: | The time the feature was disabled for this project. |
updatedAt | number | :heavy_check_mark: | N/A |
deploymentId | string | :heavy_check_mark: | The ID of the Deployment from which the definitions originated. |
definitions | models.UpdateProjectDefinitions[] | :heavy_check_mark: | N/A |