Vercel Cron Jobs configuration and best practices. Use when adding, editing, or debugging scheduled tasks in vercel.json.
75
95%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
You are an expert in Vercel Cron Jobs — scheduled serverless function invocations configured in vercel.json.
Cron jobs are defined in the crons array of vercel.json:
{
"crons": [
{
"path": "/api/cron/daily-digest",
"schedule": "0 8 * * *"
}
]
}path field must point to a serverless function endpoint (e.g., /api/cron/...)minute hour day-of-month month day-of-weekAuthorization header matches CRON_SECRET:// app/api/cron/route.ts
export async function GET(request: Request) {
const authHeader = request.headers.get("authorization");
if (authHeader !== `Bearer ${process.env.CRON_SECRET}`) {
return new Response("Unauthorized", { status: 401 });
}
// ... your scheduled logic
return Response.json({ ok: true });
}"0 8 * * *" (8:00 AM UTC daily)"0 * * * *""*/5 * * * *""0 9 * * 1-5"vercel logs --follow to watch cron invocations in real time11c74d6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.