Never Miss a Silent Vercel Cron Failure Again.
Vercel Cron Jobs do not page you when a scheduled route throws a 500, times out, or fails to trigger. Wrap your route handler with @alertondown/sdk in 4 lines of TypeScript.
npm install @alertondown/sdk
import { NextResponse } from "next/server";
import { createHeartbeat } from "@alertondown/sdk";
const hb = createHeartbeat(process.env.ALERTONDOWN_HB_TOKEN!);
export async function GET(req: Request) {
if (req.headers.get("authorization") !== `Bearer ${process.env.CRON_SECRET}`) {
return NextResponse.json({ error: "Unauthorized" }, { status: 401 });
}
const synced = await hb.wrap(async () => {
// Automatically pings /start, records runtime durationMs on success,
// or opens an instant /fail incident with error message on throw.
return await syncCustomerInvoices();
});
return NextResponse.json({ ok: true, synced });
}What you get with AlertOnDown + Vercel Cron Jobs
Zero Dependencies & Edge Ready
Built on standard Fetch API—works identically on Vercel Edge Runtime and Serverless Node 20.
Catches Both Crashes & Silent Skips
Fires immediately on exceptions via /fail AND alerts if Vercel never invoked the cron within its grace period.
Real Execution Latency Tracking
Records actual job runtime durationMs on every run so you spot slow database queries early.
25 Free Cron & Uptime Monitors
Monitor up to 25 Vercel Cron jobs and API routes free forever with Slack, Discord, Email, or PagerDuty alerts.
Vercel Cron Jobs Integration FAQ
Will telemetry errors ever break my Vercel Cron route?
No. hb.wrap() swallows telemetry network errors by default so your production cron job always runs cleanly.
Can I also monitor my Vercel deployment URLs?
Yes. Combine Vercel Cron heartbeats with HTTP waterfall monitors, SSL checks, and GitHub Actions deploy markers in one workspace.