Menu

Vercel Schedules is now in public beta - Vercel
📰

Vercel Schedules is now in public beta - Vercel

Vercel News·Elliot Dauber·5 days ago
#wXyEyZgs
#vercel#schedules#schedule#cron#target
Reading 0:00
15s threshold

Vercel Schedules is now in public beta on all plans. Run tasks on a recurring cadence or at a single point in time, in production, preview, or custom environments.

Schedules in vercel.json can target a private Vercel Function, an HTTP path, or a Vercel Queue topic, and schedules created at runtime target a Queue topic. Any schedule can be enabled, disabled, or run on demand without redeploying.

Define a static schedule:

{

"schedules" : {

"cleanup" : {

"schedule" : "0 * * * *" ,

"function" : "api/cleanup.ts" ,

"timezone" : "America/New_York"

}

} ,

"functions" : {

"api/cleanup.ts" : {

"experimentalTriggers" : [ { "type" : "schedule/v1beta" } ]

}

}

}

An hourly static schedule in vercel.json, targeting a private Vercel Function

Adding a schedule/v1beta trigger makes the function private.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.