cron-jobs

Configure scheduled serverless function invocations in vercel.json with cron syntax.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill cron-jobs-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cron-jobs
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/vercel/skills/cron-jobs
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill cron-jobs-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the configuration and maintenance of scheduled serverless function invocations, ensuring your recurring tasks run reliably on the Vercel platform.

Core Features & Use Cases

  • Native Configuration: Manage cron schedules directly within your vercel.json file using standard cron syntax.
  • Security Validation: Implement robust authorization checks using CRON_SECRET to prevent unauthorized execution of your endpoints.
  • Use Case: Automate daily database cleanups, weekly report generation, or periodic data synchronization tasks without needing external infrastructure.

Quick Start

Add a new cron job to my vercel.json file that triggers the daily digest endpoint at 8 AM UTC every day.

Frequently Asked Questions about cron-jobs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule recurring serverless function invocations on Vercel?

Vercel scheduled tasks require standard cron syntax defined inside your vercel.json file. You specify the execution path and schedule pattern to automate recurring backend tasks natively within the Vercel platform environment.

How do I secure Vercel cron job endpoints from unauthorized execution?

Secure Vercel cron job endpoints by validating incoming requests against a CRON_SECRET token. This authorization check prevents unauthorized execution of your scheduled serverless functions and protects backend automation tasks.

Can I manage backend automation tasks in vercel.json without external infrastructure?

Yes, you can configure backend automation tasks directly in vercel.json without external infrastructure. Native Vercel scheduled tasks handle recurring execution patterns like daily database cleanups or periodic data synchronization natively.

What are the limitations of Vercel cron syntax and scheduled task plans?

Vercel cron syntax and scheduled task executions are subject to specific Vercel platform plan limitations. You must adhere to these platform-specific constraints when defining recurring serverless function schedules in your vercel.json configuration.