Schedule tasks and automate workflows in seconds.
Vercel Cron Jobs can be used with Vercel Functions to:
Trigger updates to and from third-party APIs
Monitor services and alert on their health
Run critical jobs like data backups or archives
Collect product and billing metrics to generate reports
Get started by creating a vercel.json file:
{
"crons" : [
{
"path" : "/api/send-slack-notification" ,
"schedule" : "*/10 * * * *"
} ,
{
"path" : "/api/daily-backup" ,
"schedule" : "0 2 * * * *"
} ,
{
"path" : "/api/hourly-onboarding-emails" ,
"schedule" : "0 * * * *"
}
]
}
An example of different Vercel Cron Jobs
Read the documentation , deploy an example with crons , or continue reading to learn more.
Link to heading Using cron expressions
Cron jobs use a specific syntax called a cron expression to determine when a task should run.β¦