Reliable cron jobs for
modern web apps.
Define scheduled functions directly in your codebase. Pingback handles scheduling, retries, and monitoring. Starting with Next.js.
import { cron } from "@usepingback/next";
export const sendEmails = cron(
"send-emails",
"*/15 * * * *",
async (ctx) => {
const pending = await getPendingEmails();
for (const email of pending) {
await ctx.task("send-email", { id: email.id });
}
ctx.log(`Processed ${pending.length} emails`);
return { processed: pending.length };
},
{ retries: 3, timeout: "60s" }
);Everything you need for reliable background jobs
Built for developers who need more than a basic cron scheduler.
Automatic Retries
Configurable retry policies with exponential backoff. Jobs recover from transient failures without intervention.
Execution Logs
Structured logging via ctx.log(). Search and filter logs across all jobs in the dashboard.
Fan-Out Tasks
Spawn independent sub-tasks with ctx.task(). Each runs with its own retries, timeout, and tracking.
Real-Time Monitoring
Live execution status, duration tracking, and email alerts on failures. See every run in your dashboard.
Get started in 3 steps
From install to monitoring in under 10 minutes.
npm install @usepingback/nextimport { cron } from "@usepingback/next";
export const cleanup = cron(
"cleanup",
"0 3 * * *",
async (ctx) => {
await removeExpiredSessions();
ctx.log("Sessions cleaned");
}
);Deploy your app. Pingback discovers your functions, schedules them, and shows every execution in your dashboard — status, duration, logs, and errors.
Simple, predictable pricing
Start free. Upgrade when you need more.
Free
For side projects and experimentation.
- 5 jobs
- 1,000 executions / month
- 1-minute minimum interval
- 24-hour log retention
- 1 project
- Email alerts
Pro
PopularFor production apps that need reliability.
- 50 jobs
- 50,000 executions / month
- 10-second minimum interval
- 30-day log retention
- 5 projects
- Email + webhook alerts
Team
For teams managing multiple projects.
- Unlimited jobs
- 500,000 executions / month
- 10-second minimum interval
- 90-day log retention
- Unlimited projects
- Email + webhook alerts
- 10 team members
- Priority support